|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-14 23:57 UTC] jah at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
This code in the manual outputs warning/notification errors when $row is greater than the # of records. Would a for loop be a better choice? I've had to turn off warning in the php.ini to get let pages work correctly. while ($data = pg_fetch_object ($qu, $row)): 14 echo $data->autor." ("; 15 echo $data->jahr ."): "; 16 echo $data->titel."<BR>"; 17 $row++; 18 endwhile; ?>