你如何检查它是否真的在php中找到了mysql查询的结果
例如
$usersearch=mysql_query("Select * FROM users WHERE username=$Searchboxinput");
if($usersearch==successfull){
//What happens when successfull
}
else{
//what happens when unsuccessfull
}
所以如果它找到一个匹配 $searchboxinput 的用户,它会做一些事情,反之亦然