Syntax Error
Brought to you by:
nileshd
Using mysql 4.1.22
Generated code from 3.02 for adding to the db - $sqlQuery = "INSERT INTO pets (Index , name , dogorcat , gender ) VALUES ('$thisIndex' , '$thisName' , '$thisDogorcat' , '$thisGender' )";
$result = MYSQL_QUERY($sqlQuery) or die(mysql_error());
Error code is - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Index , name , dogorcat , gender ' at line 1
What is the problem?
Logged In: YES
user_id=2052904
Originator: YES
Problem Solved