I am doing an amount of users check for our website, below is the code. How can i use the word "user" if there is only 1 account and how can i use "users" if there is >1.
code:
$result = mysql_query("SELECT * FROM users WHERE user_id='$userid'");
$num_rows = mysql_num_rows($result);
echo "amount of users.";
Maybe I get it wrong, but it is obvious: