Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Problem with a database?

When I fill out my test registration form it executes the insert.php page and it brings up Thanks for Registering. But in the database in phpmyadmin it only shows the pass row filled out and not the user row filled out. What is the problem?

2 Answers

Relevance
  • The form processing script is not working properly. It should proceed to the 2nd query to insert the user row after executing the 1st query but the flow may be sending the control to a later stage and skipping the required insert query.

    Please do a dry run of your script to test the flow and you should be able to identify why it is deviating from the desired path.

  • 1 decade ago

    In most CMS I have seen, the user id and password are in the same row. Did you mean column or field instead of row? Make sure that you have the field names correct in your script, may have to use backticks `` around them depending on how you name them. Looks like your INSERT query is running into problems.

    If you have FTP or shell access, try looking at your site's raw log files. The error.log file may contain clues as to where a script is going wrong.

    Good luck!

Still have questions? Get your answers by asking now.