$sql = "SELECT * FROM tbl";
$result = mysql_query($sql);
if (mysql_num_rows($result)==0)
{
//do this
}
else
{
//do that
}
Categories
$sql = "SELECT * FROM tbl";
$result = mysql_query($sql);
if (mysql_num_rows($result)==0)
{
//do this
}
else
{
//do that
}