D
daddyslildefect0613
Guest
in Dreamweaver? I'm making a e-database for class. Each table has a listing page (which shows all data in the table), and insert page, an update page, and a delete page so you can add, delete, and change records.
I have successfully passed a variable to the delete page and using the Deletion Wizard in Dreamweaver, it deletes fine when I add ?id=# to the end of the URL (using a the php variable to indicate which row), but when I try to do the same for my update page, nothing happens. I'm always stuck with the first record in my table.
I know I can repeat my region and get all of them but I want to pass the variable through the URL so whichever link I choose, I can update that record alone.
(Sorry if I sound like a n00b. This is a MySQL class and we didn't really learn PHP outside of using the wizards and adding a variable to the end of a link URL.)
I have successfully passed a variable to the delete page and using the Deletion Wizard in Dreamweaver, it deletes fine when I add ?id=# to the end of the URL (using a the php variable to indicate which row), but when I try to do the same for my update page, nothing happens. I'm always stuck with the first record in my table.
I know I can repeat my region and get all of them but I want to pass the variable through the URL so whichever link I choose, I can update that record alone.
(Sorry if I sound like a n00b. This is a MySQL class and we didn't really learn PHP outside of using the wizards and adding a variable to the end of a link URL.)