when doing a query using php and my sql
such as
$value = mysql_query("SELECT * FROM table WHERE name = $UserName",$linkID);
What can I return if the $UserName variable is not matched.
What I would like is that if there is no match then I want to print a message no user with user name $Username was found.
please help