Ver Mensaje Individual
  #8 (permalink)  
Antiguo 29/10/2015, 04:02
hechicerd0
 
Fecha de Ingreso: julio-2015
Ubicación: Barcelona
Mensajes: 93
Antigüedad: 8 años, 9 meses
Puntos: 3
Respuesta: mysqli_fetch_all

$item = $this->_db->query("SELECT * FROM item ORDER BY id ASC;");
$items = mysqli_fetch_all($item);

Pasalo a:
Código PHP:
Ver original
  1. $query = mysqli_query($con,"SELECT * FROM item ORDER BY id ASC;");
  2. while($row = mysqli_fetch_array($query))
  3. {
  4. $row['tucampo'];
  5. }
$con = conexión en mysqli.

Te funcionará 100%.