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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


if ($page_num & 15)
        ;
else {
        do this
}


My best guess!

Tell me your results!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to