Cita:
Iniciado por pateketrueke
tal ves, una condición lógica...
Código PHP:
while (true)
{
$row = mysql_fetch_array($result);
if (empty($row))
{
break;
}
// ...
}
empty()?
![Pensando](http://static.forosdelweb.com/fdwtheme/images/smilies/scratchchin.gif)
$row es un array.
@AeroCross. La manera correcta de hacerlo es:
Código PHP:
while(false !== ($row = mysql_fetch_array($query)) {
//...
}