26
rated 0 times
[
31]
[
5]
/ answers: 1 / hits: 57251
/ 12 Years ago, tue, january 22, 2013, 12:00:00
The cookie is encoded using the big5 set, and it cannot insert into MySQL. Could you help me to solve this problem?
Fields: username
is eng, date1
is date, reason1
is a Chinese character.
$reason1 = $_COOKIE[reason];
$sql2=INSERT INTO
attendance_count(username,date,count_time,appendix)
VALUES ('$username','$date1','0','$reason1');
mysql_query($sql2);
More From » php