I am going nuts here. I am trying to do a basic insert query, like I've done a million times before and its not working. Here is a snip of code:

$query = "INSERT INTO lm SET
class = '$_POST[class]',
desc = '$_POST[desc]',
stock = '$_POST[stock]',
color = '$_POST[color]',
size = '$_POST[size]',
retail = '$_POST[retail]',
cost = '$_POST[cost]',
minorder = '$_POST[minorder]',
avail = '$_POST[avail]',
comm = '$_POST[comm]',
thumb = '$_POST[thumb]',
image = '$_POST[image]' ";

if (@mysql_query($query)) {
echo( "<P>The Record for <B>$_POST[desc]</b> has been added.</P>");

The error I keep getting 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

Thanks in advance.