Jump to content

Php Login Problems With Edit Delete Data


jcvasquezdevelasco

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...