-->error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\appserv\www\delivery17jan\admin_type_add.php on line 15
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Dentist\ca2.php on line 5
<?
$sql="select * from test where day='$day' and time='$time' ";
$result=mysql_db_query($dentist,$sql);
if(mysql_num_rows($result)>0)
{
echo "<center><font color='#FF0000'><b>คุณ ",$day and $time,"<br>คุณลงข้อมูลซ้ำ กรุณาลงใหม่ </b></font></center>";
exit();
}
?>