Re: Wrapping SQL results in 2 tables
| From: | Chris Shiflett | Date: | Tue, 21 Jan 2003 19:34:54 +0000 |
| Subject: | Re: Wrapping SQL results in 2 tables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132500@lists.php.net to get a copy of this message | ||
--- Mike Smith <msmith@larrymethvin.com> 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