necesito ejecutar esto en el servidor mysql:
UPDATE ocupacioestat SET $cadires_compr WHERE ID = $actuacion;
y lo he intentado así:
Código:
<?php
$actuacion = $_COOKIE['ID'];
mysql_select_db($database_teatredelmar, $teatredelmar);
UPDATE ocupacioestat SET $cadires_compr WHERE ID = $actuacion;
?>
Pero me da error, alguien me puede decir como ejecutar este orden en mysql.