Re: [請益] 關於沒有寫入資料庫的問題
※ 引述《chairco (今天是晴天)》之銘言:
: $str="insert into disscuss (time,title,content,count,name,email,web,ip)
^^^^^
這邊怪怪的。
: values (now(),'$title','$content','0','$name','$email','$web','$ip')";
$str = "INSERT INTO `disscuss` (`time`, `title`, `content`,
`count`, `name`, `email`, `web`, `ip`)
VALUES (NOW(), '$title', '$content',
'0', '$name', '$email', '$web', '$ip')";
--
我不寂寞, 因為煙在我口,
我不寂寞, 因為酒在我手,
我不寂寞, 因為還有寂寞陪著我.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.254.16.63
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):
PHP 近期熱門文章
PTT數位生活區 即時熱門文章
154
159