var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
I am having trouble with the UPDATE command, if anyone could help that would be lovely. My code is: mysql_query("UPDATE writings SET titleofpiece='$newtitle' WHERE pieceid='$id'");
Is there anything wrong with that? I put it in a if statement and it says it executes but it just is not saving, eh? Anyone guidance would be appreciated.
Here is some more code.
if($newtext && $newtitle)
$sql="UPDATE writings SET titleofpiece='$newtitle', thepiece='$newtext' WHERE pieceid='$id'";
i used error_reporting(E_ALL); and figured it out myself thanks to Sheps