Forum Moderators: coopster
I made sure the permissions are set to allow update as well.
I have some very simple sql going on:
mysql_query("UPDATE pages SET accepted = 'y' WHERE id = $var")
The include files collect the variables also.
I have this in one of the includes
$_SERVER['REQUEST_URI']
and I have to request the
$_HTTP_SERVER_VARS['HTTP_HOST']
What can I be missing. This is driving me mad. Works locally, knackers remotely.
$sql = "UPDATE pages SET accepted = 'y' WHERE id = $var";
exit("$sql");
mysql_query($sql);