I'm faced with a little problem, I want to count the total number of rows from a db table. I try this queries, but with no success:
$nr = mysql_query("select [TotalCount]=rows from $tablename where ID=object_ID('gyuruszam')");
$nr = mysql_query("SELECT COUNT(gyuruszam) FROM $tablename");
$nr = mysql_query("SELECT gyuruszam FROM $tablename, st.row_count");
Please help me out on this, thank you very much in advance!