> I am using the folling code to list all of my tables in a database:
> however, i would like to show the user how many rows there are in each
table
> (where i have put numrows), how could i do this?
This will be costly on process time, but you could just do a SELECT COUNT(*)
on all the tables. If
Hi,
I am using the folling code to list all of my tables in a database:
Table
Action
Records
";
while ($row = mysql_fetch_row($result)) {
print "
$row[0]
add
data
edit
data
Thanks. I knew that - really. Meltdown upstairs :)
- D
> -Ursprungligt meddelande-
> Från: Jason Wong [mailto:[EMAIL PROTECTED]]
> Skickat: den 20 januari 2002 18:53
> Till: Daniel Alsén; PHP List
> Ämne: Re: [PHP] Number of rows reurned?
>
>
> On Monday 21 Ja
On Monday 21 January 2002 01:45, Daniel Alsén wrote:
> Hi,
>
> how can i get the number of rows reuturned by this query?
>
> $sql = "select date from statistik where shooter='$shooter_login' group by
> date";
>
> I want to add a page function and limit the returned rows on each page -
> but i can´
Hi,
how can i get the number of rows reuturned by this query?
$sql = "select date from statistik where shooter='$shooter_login' group by
date";
I want to add a page function and limit the returned rows on each page - but
i can´t get the total number of rows.
Regards
# Daniel Alsén| www.min
5 matches
Mail list logo