(I labelled all my errors with numbers, so 92 is just my 92nd one)
Error: 92You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':2:{i:0;s:11:"Iron Dagger";i:1;s:6:"Ignite";} WHERE idcount=1'
Code: Select all
$inv=serialize($inv);
mysql_query("UPDATE chars SET inv = $inv
WHERE idcount=$id")or die('Error: 92'.mysql_error());