Page 1 of 1
SQL error in database error thingy help!
Posted: Mon Dec 04, 2006 1:34 am
by Mythic Fr0st
I keep getting this error, not sure why though o_O
Error: 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 ''
Gaming_Ink@yahoo.com.au)' at line 3
any idea's, my SQL syntax at PHP admin is good I think?
Posted: Mon Dec 04, 2006 1:45 am
by RobertGonzalez
Post your query. I would suspect it has something to do with not using quotes around a string in your query. And please use descriptive titles when posting. It is one of our rules here. On a side note, what tutorial are you using for your project? Or are you using a book or some other teaching method?
ok
Posted: Mon Dec 04, 2006 1:58 am
by Mythic Fr0st
Umm, whats a query

where is it?, and this is the tutorial (php)
http://www.w3schools.com/php/php_mysql_insert.asp
Posted: Mon Dec 04, 2006 10:19 am
by RobertGonzalez
I would suggest you start with a book for your learning, rather than the w3schools examples. They are decent examples, but not very good for learning from.
A query is a database call. Basically when you want to SELECT, INSERT, DELETE or UPDATE something in the database you would issue a query to the database then handle the response from the database server. But for now, you really should be taking baby steps. You may be moving too fast at the moment.
Posted: Mon Dec 04, 2006 10:38 am
by hrubos
You should learn from basic example or you should try to learning by doing small project. While you are dong, u have problem, u can post here and somebody help you.
I give y idea because I am too newbie in Php and I understand how diffcult for beginner but nothing diffcult if you try ur best
Have nice!!!