How to reflect changes to a result table after an SQL query in PHP?

elie

New member
I have the following structure of PHP codes in exact order

1. form
2. select command (which produces a table>
3. insert command
4. delete command
5. update command

Each transaction works well but thing is, the page needs to be refreshed before the changes are reflected on the select statement (table produced). I know there's something wrong with my sequencing, so I tried putting the select statement after the update command but then the insert, delete and update statements returns an error saying that certain objects are not existing.

Please help, thanks!
 
Back
Top