Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/05/2014, 12:57
Avatar de Italico76
Italico76
 
Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años
Puntos: 292
Respuesta: Uso de LIKE en mysqli

Primero la conexion, se establece ?

Código PHP:
Ver original
  1. <?php
  2.  
  3. $conexion = new mysqli('localhost', 'fake_user', 'my_password', 'my_db');
  4.  
  5. if ($mysqli->connect_errno)
  6.     die('Connect Error: ' . $mysqli->connect_errno);

Segundo,

Código PHP:
Ver original
  1. $ok = $stmt->execute();

execute() devuelve TRUE si fue exitosa, lo fue ?
__________________
Salu2!