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

 Duda sobre hacer consulta
 Duda sobre hacer consulta 

