I'm losing my mind. Help? I have a script that serves three purposes: 1) displaying data in a table, 2) allowing for editing of the data in the table, and 3) updating the table with new information and posting the success/failure message.
I'm trying to use hidden values at each submission step, but the third isn't working for me. My hidden field is 'op'. Can you help me with logic to have each step happen in order, and also only display the $display block for that page?
I've attached my code, and I highlighted where the three statements are. You can see what happens with it at:
http://simpleplan4ever.com/DBClass/admin_modproduct2.php
At this point, instead of doing the third part (updating and posting success/failure results), it's going back to the first screen.
Any ideas? Thank you in advance for any help.