9amwhiskey
IS-IT--Management
Maybe I'm missing something here, but can anyone see a problem with the following insert syntax:
"INSERT INTO people (name,age,address) VALUES('$name','$age','$address')";
All I get 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 'age,address) VALUES('mike','35','60 Main Street')' at line 1"
Line one is <?PHP
I'm getting really frustrated with how simple this should be
"INSERT INTO people (name,age,address) VALUES('$name','$age','$address')";
All I get 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 'age,address) VALUES('mike','35','60 Main Street')' at line 1"
Line one is <?PHP
I'm getting really frustrated with how simple this should be