คุณกลับไปไล่ดู Data ตอนที่มันส่งออกดีกว่าครับ ว่ามันได้ค่าออกมา write ตามที่ต้องการหรือไม่
Date :
2011-05-23 15:17:47
By :
webmaster
No. 2
Guest
เปิดไฟล์มัน error แบบนี้ครับ
Code
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\phpMyAdmin\export.php:187) in C:\AppServ\www\phpMyAdmin\libraries\ob.lib.php on line 64
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\phpMyAdmin\export.php:187) in C:\AppServ\www\phpMyAdmin\libraries\header_http.inc.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\phpMyAdmin\export.php:187) in C:\AppServ\www\phpMyAdmin\libraries\header_http.inc.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\phpMyAdmin\export.php:187) in C:\AppServ\www\phpMyAdmin\libraries\header_http.inc.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\phpMyAdmin\export.php:187) in C:\AppServ\www\phpMyAdmin\libraries\header_http.inc.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\phpMyAdmin\export.php:187) in C:\AppServ\www\phpMyAdmin\libraries\header_http.inc.php on line 19
Code
เซิร์ฟเวอร์: localhost
ฐานข้อมูล: depression_210354
ตาราง : depres_person
ผิดพลาด
คำค้น SQL:
SELECT pr.provname, o.offid, o.offname, p.cid, p.prename, p.firstname, p.lastname, p.birthdate, n.9qscore, n.visitdate, e.8qscore, e.visitdate, p.chroniccode, p.r1, p.r2, p.r3, p.r4, p.r5
FROM `depres_person` p
INNER JOIN depres_office o ON p.offid = o.offid
INNER JOIN depres_province pr ON o.provid = pr.provid
INNER JOIN depres_person_9q n ON p.cid = n.cid
LEFT OUTER JOIN depres_person_8q e ON n.cid = e.cid
WHERE LENGTH( p.cid ) =13
AND n.9qscore >=7
AND e.8qscore IS NOT NULL
AND DATE_FORMAT( NOW( ) , '%Y' ) - DATE_FORMAT( birthdate, '%Y' ) - ( DATE_FORMAT( NOW( ) , '00-%m-%d' ) < DATE_FORMAT( birthdate, '00-%m-%d' ) ) >=60
AND n.visitdate
BETWEEN '2010-10-01'
AND NOW( )
AND (
NOT chroniccode IS NULL
AND chroniccode != ""
AND chroniccode != "0"
)
OR (
NOT r1 IS NULL
AND r1 != ""
AND r1 != "0"
)
OR (
NOT r2 IS NULL
AND r2 != ""
AND r2 != "0"
)
OR (
NOT r3 IS NULL
AND r3 != ""
AND r3 != "0"
)
OR (
NOT r4 IS NULL
AND r4 != ""
AND r4 != "0"
)
OR (
NOT r5 IS NULL
AND r5 != ""
AND r5 != "0"
)