mysql_query("insert into items(item, userid, user) values('".$itemname."', ".$_SESSION['id'].", '".$user."' ") or die (mysql_error());
thats the line that is the problem
this is the error im getting
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 'glass bottle'', 1, 'matty'' at line 1
not quite sure what is wrong with it

New Topic/Question
Reply




MultiQuote






|