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
Chris, It appears that the indices called out in the lines of error code are not being transferred from the Insert_Table_Form.html page and that is causing the query to ultimately fail. Almost self-explanatory due to PHP's good error reporting. First make certain that the names of the form contro