Mod-Jay Posted December 1, 2010 Share Posted December 1, 2010 Hi im trying to count the number of rows in my notifications My code So far list($total_server) = mysql_fetch_row(mysql_query("SELECT COUNT(id) FROM users WHERE notifications")); Quote Link to comment Share on other sites More sharing options...
Mod-Jay Posted December 1, 2010 Author Share Posted December 1, 2010 New Question im trying to do the same thing but this one is alittle complicated list($total_votes) = mysql_fetch_row(mysql_query("SELECT COUNT(id) FROM toplist WHERE id='{$_SESSION['id']}', votes='votes'")); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.