jcvasquezdevelasco Posted December 11, 2012 Report Share Posted December 11, 2012 I'm a begginer PHP programmer. I followed the course of PHP Login, everything went well in my two first forms, but in the last one, the data come empty. May be I forcing the code with a table with 9 rows? Someone could help me where is my error. Thanks. recordsreg.php Quote Link to comment Share on other sites More sharing options...
falkencreative Posted December 11, 2012 Report Share Posted December 11, 2012 When you say "the data comes empty", what do you mean exactly? The form data isn't inserted into the database correctly? You get an error message? You get a blank page? The page you included above has the code that would insert the data into the database commented out, which would result in a blank page and nothing added to the database if you ran the code and filled out the form correctly. Did you do that purposely? Quote Link to comment Share on other sites More sharing options...
jcvasquezdevelasco Posted December 11, 2012 Author Report Share Posted December 11, 2012 The code come correctly from the database. I insert and view them correctly. My problem is when I want to correct or edit the data displayed. I follow this steps: A file to connect to the database. (connect_db.php) A file to view the data (view.php). In this file when i try to edit or delete a row, the next file (recordsreg.php) only show the ID value correspond to same row, but the form fields are empty. I attach the oder file now. viewreg.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.