> Could someone plese explain this line if code??? What does the "?" do?
> $r = ($r < 1) ? $config['maxResults'] : $r;

It's short circuit IF (I believe that's the right word for it).  This is the
same
thing as doing this:

if( $r < 1 ) {
  $r = $config['maxResults'];

} else {
  $r = $r;

}

Chris

Reply via email to