Notice: Use of undefined constant mytime - assumed 'mytime' in /var/www/html/calsn/calresult.php on line 15
出现这个就是最后一行(15行)
$query="select * from empoloyee where empid='$empid'";
$result=mysql_query($query) or die(mysql_error());
$num=mysql_num_rows($result);
if ($num>0)
{
$row=mysql_fetch_array($result);
$mytime=$row[mytime];