
15/12/2016, 07:28
|
| | Fecha de Ingreso: noviembre-2003 Ubicación: Zaragoza, España
Mensajes: 1.257
Antigüedad: 21 años, 4 meses Puntos: 154 | |
Respuesta: radio buttom php sql update. Hola spark21,
Código PHP:
Ver original<!--Next events block--> ESTA LÍNEA TE SOBRA, POSIBLEMENTE SEA LA CAUSA DEL ERROR, O POR LO MENOS, DE PARTE DE ÉL. Lo he escrito con mayúsculas para que resalte, nada más. <? mysqlconnect(); if (isset($_POST['active_next'])) { $query_next = "UPDATE blocks SET active='$active_next' WHERE content_file='next_events'"; if (!$result_next) error ("MySQL Error: ".mysql_error()."\n"); return_do(".?page=blocks", "activated succesfully modified\n$msg"); }else{ ?>
|