Hi all,
I have created an edit page for my site
http://www.katherinewagnerdesigns.co...lford/edit.php
The php is this:
and then the code:
ending with this so that it copies each post out with each form:
What happens when I click Update, however, is it only updates the first post...so anything I change in the posts below and hit on that Update button, it will still only changes the first post and the others stay the same. Somehow it looks like it is not getting the id number of each successive post. The updated.php code is:
And also, the Delete button doesn't do anything at all...deleted.php is:
Why is this stuff happening...I can't seem to find anything wrong in the code...but again, I am just learning this so I must be doing something wrong. Thanks for any help, Matt
Maybe there is a way to make each forms Update button update every post at once from each form...eliminating the need to detect which id Update button the user clicks on...?