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")); Link to comment https://forums.phpfreaks.com/topic/220322-mysql-help/ 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'")); Link to comment https://forums.phpfreaks.com/topic/220322-mysql-help/#findComment-1141692 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.