Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/04/2014, 13:28
Avatar de hhs
hhs
Colaborador
 
Fecha de Ingreso: junio-2013
Ubicación: México
Mensajes: 2.995
Antigüedad: 10 años, 10 meses
Puntos: 379
Respuesta: Duda en sintáxis mysqli_query

Eso lo puedes ver en el manual:

http://www.php.net/manual/en/mysqli.query.php
Código PHP:
Ver original
  1. mixed mysqli_query ( mysqli $link , string $query [, int $resultmode = MYSQLI_STORE_RESULT ] )

Cita:
resultmode

Either the constant MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT depending on the desired behavior. By default, MYSQLI_STORE_RESULT is used.

If you use MYSQLI_USE_RESULT all subsequent calls will return error Commands out of sync unless you call mysqli_free_result()

With MYSQLI_ASYNC (available with mysqlnd), it is possible to perform query asynchronously. mysqli_poll() is then used to get results from such queries.
http://www.php.net/manual/en/mysqli.constants.php
Cita:
MYSQLI_STORE_RESULT For using buffered resultsets
MYSQLI_USE_RESULT For using unbuffered resultsets
Que disfrutes la lectura !
__________________
Saludos
About me
Laraveles
A class should have only one reason to change.