Posted by Michael Austin on 10/24/76 11:40
auron wrote:
> Hi,
> I finally discover the way how to get what I need.
>
> Let's look to my code:
>
> ----------------------- CODE ------------------------>
>
> $res = @mysql_query("SELECT COUNT(*) AS ToT FROM table_name");
> $dato = mysql_fetch_array($res);
>
> echo($dato[ToT]);
> ----------------------- CODE ------------------------>
>
> With this code you will get how much records do you have in DB.
>
> PS:
> Whan you think that everything is over and that you are at bottom of
> trying push harder to see what is under.
>
> Auron
> http://eye.cc php newsgroups
you should reply to your original post rather than starting a new thread!
[Back to original message]
|