trying to insert a record into a mysql table

Asked by:
OHRiley / 30 Points
2012-06-04 8:20 pm EST
hello, I am trying to insert a record into a mysql table with data collected from a form...the php file is called, but blank records are being inserted, not the data I enter. Here are my simple test files... Have you any ideas? Thanks OH RILEY

First name:
Last name:
Nick Name:

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User


17,314 Points
2012-06-04 8:50 pm EST
Hello OHRiley,

It looks like something in your form script is not working. The form script usually updates the database. So, if you're seeing something wrong there, I would double-check the script. Briefly looking at your files, I'm not sure what script you're referencing, but first check the script to make sure you're passing over the data correctly. If you can provide more detail, we can take a closer look and see exactly what is happening.

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.


Arnel C.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.