Ver Mensaje Individual
  #5 (permalink)  
Antiguo 31/03/2017, 07:49
Avatar de KATHYU
KATHYU
 
Fecha de Ingreso: julio-2013
Mensajes: 547
Antigüedad: 11 años, 6 meses
Puntos: 46
Respuesta: Consultar si tabla esta dañada

Yo, no dejaria imprimir si antes no esta hecho el insert.
Código PHP:
Ver original
  1. $insert = $mysqli->query("INSERT INTO tu_tabla VALUES blablabla ") or trigger_error($mysqli->error);
  2.  
  3. if ($insert){
  4.    // Todo el HTML/Código de impresión
  5. }
__________________
Al contrario de lo que muchos podrían afirmar, ayudar no te hace pobre, sino más rico.