> -Original Message-
> From: Tommy Pham [mailto:tommy...@gmail.com]
> Sent: Friday, February 04, 2011 4:21 PM
> To: 'Bill Mudry'
> Cc: 'php-windows@lists.php.net'
> Subject: RE: [PHP-WIN] Search engine won't page properly
>
> > $result = mysql_query( $sqlSearchCount ); $totalRows =
> >
> -Original Message-
> From: Tommy Pham [mailto:tommy...@gmail.com]
> Sent: Friday, February 04, 2011 3:49 PM
> To: 'Bill Mudry'
> Cc: 'php-windows@lists.php.net'
> Subject: RE: [PHP-WIN] Search engine won't page properly
>
>
> Previously,
>
> > [CODE]
>
>
>
> >
> >
> > >
Previously,
> [CODE]
>
>
> //$s = 14; hard coded as a debug statement
> $S= @$_GET['$s'] ;
With the above, PHP is looking for the GET parameter name $s, not the value
of $s as the the GET parameter name. If you want the latter, change it to
$_GET[$s]. IIRC, PHP is n
At 12:11 AM 04/02/2011, Tommy Pham wrote:
Bill,
That's a lot of reading ... Anyway, this seems to be a 'general' PHP
question. If I understood you correctly, you're having problem getting PHP
to page the SQL results? If so, look the below code logic and adapt as
necessary:
$numOfResults = 10;