$perintah2="SELECT * FROM .........";
$hasil2=mysql_query($perintah2) or die('Tidak ada data');
$n_data=mysql_num_rows($hasil2);
if ($n_data==0)
{
.......................;
}
No comments:
Post a Comment