Hi,
Let's say i have a query:
"SELECT topic_name FROM mytable WHERE user='$username' LIMIT $Start, $pageSize";
Now i can display the topic_name in a table.
However, I want to know how many TOTAL topics there are from this user, so I can make pages and calculate how many topics on each page (pagination)
How do I do that without using another query like this?--
"SELECT count(topic_name) FROM mytable WHERE user = '$username'";

fank you