View Single Post
 
Old February 24th, 2006, 08:40 AM
universalbitmapper universalbitmapper is offline
Registered User
 
Join Date: Feb 2006
Location: paris, other, France.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default There's an error in the book PAMWeb devpt

Hi,

In the solution to the exercise where you have to display one movie par page, the solution is impossible because $offset is null the first time.

You have to test:

if ( isset($offset))
   ....
else
   $offset = 0;

Funny they left it that way, maybe they want to make sure we're awake during the class:D:):D