Posted by auron on 10/24/71 11:40
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
[Back to original message]
|