Jump to content

number of logins


fife

Recommended Posts

mysql_fetch_array() gets the next (i.e. one) record from the result set. You are only retrieving one field, "email", so the count() for any one record would only be 1. If you want the number of records in the query result set you would use

$logs = mysql_num_rows($loginsq);

Link to comment
https://forums.phpfreaks.com/topic/232412-number-of-logins/#findComment-1195547
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.