Counting Rows In Mysql
- Forums
- MYSQL
- Counting Rows In Mysql
This Page Contains information about Counting Rows In Mysql By jayos.2010 in category MYSQL with 1 Replies. [2298], Last Updated: Mon Jun 24, 2024
jayos.2010
Sat Aug 22, 2009
1 Comments
400 Visits
i have a problem in my script
i have some users who signed up and i want to be able to update this other table with how many users i have that are signed in. so i want to count those rows only
PHP CODE:
$result2 = mysql_query($sql2 ,$db);
$row = mysql_fetch_row($result2);
$UserCount= $row[0];
echo"number of users: $UserCount<br>";
https://www.webune.com/forums/counting-rows-in-mysql.html