Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/07/2015, 13:50
Jose789
 
Fecha de Ingreso: diciembre-2012
Ubicación: Murcia
Mensajes: 329
Antigüedad: 11 años, 4 meses
Puntos: 4
Respuesta: Fatal error: Call to a member function bind_param()

Cita:
Iniciado por xfxstudios Ver Mensaje
epa y aqui de donde sacas la base de datos'?????
Código PHP:
Ver original
  1. $conn = new mysqli($servername, $username, $password);
Código PHP:
$servername "localhost";
$username "root";
$password "hola123";
$db "test";

// Create connection
$conn = new mysqli($servername$username$password$db); 
Ahora tengo los siguientes errores

Warning: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables in

Notice: Trying to get property of non-object in