![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am building a content management system with php/mysql and apache using DW. I am now at the stage of deleting records from my database. What is happening is that when I create the delete record server behaviour, and chose 'Form Variable' from the drop menu, press ok, and go back in, it goes straight back to 'primary key value' every time. The problem with this is that every time I try to select a record to delete from my form first, it deletes the record and does not go straight to my form to check if 'you are sure you want to delete this record'? If it is any help, I am following the practical web projects tutorial managing content with a database. This is the one about the band 'Circa'. I believe this issue is now sold out. Has anyone followed this tutorial and succesfully been able to check first before you delete a record. If so I would like to know how you did it because it fails for me every time. What I can do is delete a record from the list of records I have in my database, but not check first then delete. Any help anyone? Thank you Dmlocke What exactly is supposed to happen when you click on the "delete" link? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi, Thanks for getting back to me. I have done all the things you have said - the delete record server behaviour is not working because when I select the record by clicking on the its radio button and press submit, it goes to my delete page where my delete record server behaviour is. When I have agreed that I want to delete this record, it doesn't do it and goes to the page I specified in the action field. Cheers First Question: Do you know that it is the right article that you are |
![]() |
| Thread Tools | |
| Display Modes | |
| |