Thread: mysql problem
View Single Post
Old 02-21-2008, 11:50 PM   #1 (permalink)
CoryMathews
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Confused mysql problem

Quote:
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 's foremost network protocol analyzer, and is the de facto (and often de jure) st' at line 2
I am getting this error message from my query. No idea what it means. Any Ideas?

Code:
$sqlInsert = mysql_query("INSERT INTO table (win, lin, mac, recommended, sName , version , longDesc , license , added, updated, homepageLink , imageLink, timeInt, category, MainCategory)"."
	VALUES ('$win', '$lin', '$mac', '$recommended', '$sName', '$version', '$longDesc', '$license', '$added', '$updated', '$homepageLink', '$imageLink', '$timeInt', '$category', '$MainCategory')") or die(mysql_error());
CoryMathews is offline  
Reply With Quote