select * from admin where username='admin' and password='1234'
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\stru\admin_check.php:17) in C:\AppServ\www\stru\admin_check.php on line 23
นี่ line 17 คือ echo $sql = "select * from $tblname where username='$user_login' and password='$pwd_login'";
ส่วน line23 คือ header("location:admin_home.php");
ครับ