problemas con codigo

From: Date: Wed, 31 Jan 2001 14:40:51 +0000
Subject: problemas con codigo
Groups: php.general.es 
Request: Send a blank email to general-es+get-6500@lists.php.net to get a copy of this message
Por que cuando hago el siguiente codigo me sale el siguiente error: Warning: Unable to jump to row 2 on PostgresSQL result index 2 in /home/rivas001/sao/7.php3 on line 53 ************************* Codigo php **************************** ?php $i = 0; $coneccion=pg_Connect("localhost","5432","","","sao"); $res=pg_Exec($coneccion,"select * from equipos"); while($row = pg_fetch_object($res,$i)) { echo("<input type=\"checkbox\" name=\"descr[$i]\" value=\"$row->cod_equipo\"> $row->descr<br>"); $i++; } ?> ************************* EOF ****************************

« previous php.general.es (#6500) next »