Ver Mensaje Individual
  #5 (permalink)  
Antiguo 29/03/2014, 14:34
Avatar de warywin
warywin
 
Fecha de Ingreso: octubre-2013
Mensajes: 155
Antigüedad: 10 años, 6 meses
Puntos: 1
Respuesta: Error con 2 array de checkbox diferentes

Código PHP:
Ver original
  1. $insertSQL = sprintf("INSERT INTO album_fotos (categoria, estrellaporno, nombre, c_html) VALUES ($categoria, $estrellaporno, %s, %s)",
  2.                        GetSQLValueString($_POST['nombre'], "text"),
  3.                        GetSQLValueString($_POST['c_html'], "text"));

ahi es donde me dice que da el error, no puyede convertirlo de array a string, sin embargo la cadegoria si que la coge correctamente y uso el mismo procedimiento.., pero con diferentes arrays