Can anyone help me with a problem?
The thing is : I want the query & the update form in the same file.
So when there's POST data the query will run and alter the records in my database, and then show the new results
So when there IS NO POST data the page will just show the update form.
Is this possible?
// I think the form action should be something like
Code: Select all
action="<?php echo $_SERVER['PHP_SELF']?>"Otherwise it will empty the records when there's no data