Re: PHP coding question
| From: | Gustavo Vieira Goncalves Coelho Rios | Date: | Sat, 07 Apr 2001 00:33:41 +0000 |
| Subject: | Re: PHP coding question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47538@lists.php.net to get a copy of this message | ||
Rory O'Connor wrote:
>
> I'm not a real programmer, so I am wondering if anyone can help me translate
> this psuedo-code into php code:
>
> if ($page_num is a multiple of 8) {
>
> do this
>
> }
>
> If you want to know what I'm trying to do...
> I have a left frame showing a recordset of 8 records at a time. the frame
> on the right shows the detail (more info) of one record at a time. if the
> user clicks "next record" in the right frame and the record goes beyond the
> 8 on the left, I want to be able to refresh the left frame to show the next
> 8 records.
>
> Thanks!
>
> Rory
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
if ($page_num & 15)
;
else {
do this
}
My best guess!
Tell me your results!