Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\WEb\chklogin.php:3) in C:\AppServ\www\WEb\chklogin.php on line 23
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\WEb\chklogin.php:3) in C:\AppServ\www\WEb\chklogin.php on line 26
if ($user_login=="" or $pass_login=="") {
echo "<center><h2>ERROR : กรุณากรอกข้อมูลให้ครบนะครับ</h2></center>";
echo "<center><h2><a href='index.html'>กลับไปกรอกใหม่</a></h2></center>";
exit();
}
include "connect.php";
$sql="select * from login where user_login='$user_login' and pass_login='$pass_login'";
$result=mysql_db_query($dbname,$sql);
$num=mysql_num_rows($result);
mysql_close();