Re: [PHP-DB] Undefined Index error when trying to insert data from a form into a db

2003-06-26 Thread Miles Thompson
1. Check the manual on use of $_POST and notch down your error reporting level. As these vars have not been defined PHP is throwing an error. 2. While you are at it, and assuming that your variables are all received correctly, why not simplify your sql? insert into test_scores set field_one =

RE: [PHP-DB] Undefined Index error when trying to insert data from a form into a db

2003-06-26 Thread Hutchins, Richard
gt; To: PHP Lists > Subject: [PHP-DB] Undefined Index error when trying to insert > data from > a form into a db > > > Hello to all: > > I am getting the following error message when trying to > insert data from > an html form into a MYSQL database that I recently

[PHP-DB] Undefined Index error when trying to insert data from a form into a db

2003-06-26 Thread Christopher McCourt
Hello to all: I am getting the following error message when trying to insert data from an html form into a MYSQL database that I recently created. Can someone take a look at the errors and corresponding code and suggest some alternatives? Thank you very much in advance for your assistance. R