Re: MySQL SELECT performance suggestions
| From: | Christian Reiniger | Date: | Wed, 10 Jan 2001 22:40:51 +0000 |
| Subject: | Re: MySQL SELECT performance suggestions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33818@lists.php.net to get a copy of this message | ||
On Wednesday 10 January 2001 20:58, webbie@deanox.com wrote:
> I have PHP perform SELECT queries on the table, and I need to display
> the results in a format of: "viewing $top to ($top+$depth) of $numrows
> found"
>
> I haven't found a way to determine $numrows without performing a second
> SELECT in this format:
look for mysql_num_rows ()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.