Just goes to show there are such things as dumb questions. Thanks for
pointing me in the right direction. I'm using MSSQL, but mssql-data-seek
does the trick!

Thanks,
Mike

-----Original Message-----
From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 11:35 AM
To: Mike Smith; [EMAIL PROTECTED]
Subject: Re: [PHP] Wrapping SQL results in 2 tables


--- Mike Smith <[EMAIL PROTECTED]> wrote:
> I'm trying to present a phone directory in a
> printable format that will make "most" people
> happy. What I need to do is take the results
> from our database and "break" it into two
> tables.

I can't really tell what you are trying to do, but it
sounds like you just want to loop through a MySQL result
set more than once, right? If so, check out this function:

http://www.php.net/manual/en/function.mysql-data-seek.php

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to