Re: Paginating Result Sets



Alec wrote:
First attempt at doing an exercise on paginating result sets

When I run the code, I receive the error "Fatal error: Call to
undefined function: mysql_fetch_objects() in
/homepages/17/d23395818/htdocs/en/test.php on line 48"

Line 48 is while($row = mysql_fetch_objects($result)) Any ideas?? Have
I missed an obvious mistake. (full code below)

There doesn't seem to be any such function. Did you mean mysql_fetch_object()?

Tim
.



Relevant Pages

  • Re: Session_start not working
    ... Fatal error: Call to undefined function: session_startin ... You can get Apache plus PHP running in a normal user account. ... tell me where the PREFIX/tmp folder is? ...
    (alt.php)
  • [SLE] Apache PHP and no email
    ... Fatal error: Call to undefined function: mailin ... If you are not the intended recipient, ... those of the individual sender and are not necessarily the views of the ...
    (SuSE)
  • Full path disclosure in Webcalendar 1.1.0-CVS
    ... Fatal error: Class testoffunctions: Cannot inherit from undefined class ... Fatal error: Call to undefined function: translatein ... Fatal error: Call to undefined function: etranslate() in ... var ie5 // Are we using Internet Explorer ...
    (Bugtraq)
  • Re: php 5 and mysql
    ... Steve Wrote: ... i'm still getting the fatal error: ... Did you restart your web server? ...
    (alt.php)
  • GD issues
    ... the output from phpinfo() ... GD Support => enabled ... Fatal error: Call to undefined function: imagedestroyin ...
    (php.general)