<?php mysql_connect("127.0.0.1","root","pw");
mysql_select_db("exe"); $q=mysql_query("SELECT * FROM e01cpmanage where GDate='2010-09-13'");
while($e=mysql_fetch_assoc($q)) $output[]=$e;
print(json_encode($output));
mysql_close();
?>
숫자와 영문은 제대로 나오는데, 한글만 null로 나오네요..
왜 그럴까요..도와주세요.. |
그것부터 점검해보셔요.
웁브라우져에서 한글이 잘 안된다면.
mysql_query("set names euckr", conn); <--- 요 설정을 바꿔가면서요.