ถึง คุณลุง..ความคิดเห็นที่ 1 ครับ error มันฟ้องดังนี้ครับ (ฐานข้อมูลคิดว่าถูกต้องแล้วนะครับ ชื่อฐานข้อมูล mydatabase, ชื่อตาราง member ยกตัวอย่าง 1 user คือ user = max, pass=004 )
select * from member where user='max' and pass='004'
Warning: Cannot send session cache limiter - headers already sent (output started at c:\appserv\www\formula\sample2.php:5) in c:\appserv\www\formula\sample2.php on line 26
Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\formula\sample2.php:5) in c:\appserv\www\formula\sample2.php on line 27
select * from member where user='max' and pass='004'
Warning: Cannot send session cache limiter - headers already sent (output started at c:\appserv\www\formula\sample2.php:5) in c:\appserv\www\formula\sample2.php on line 26
Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\formula\sample2.php:5) in c:\appserv\www\formula\sample2.php on line 27
Warning: Cannot send session cache limiter - headers already sent (output started at c:\appserv\www\formula\sample3.php:5) in c:\appserv\www\formula\sample3.php on line 7
สวัสดีครับ max ตรงนี้ขึ้นอยู่กับการออกแบบของคุณ