作者yilenwu ( )
看板PHP
标题Re: [请益] 再次请教关於限制存取页面及换行
时间Mon Oct 22 00:25:29 2007
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.105.93.249
1F:→ yilenwu:试了一下~直接连在一起也不行@@ 10/20 23:20
我改成这样不行@@
$insertSQL = sprintf("INSERT INTO epdata (ep_title, ep_content, ep_date) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['ep_title'], "text"),
GetSQLValueString($_POST['ep_content'], "text"),
GetSQLValueString($_POST['ep_date'], "date"));
<?php echo nl2br($_POST['ep_content']) ?>
改成这样也不行@@
$insertSQL = sprintf("INSERT INTO epdata (ep_title, ep_content, ep_date) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['ep_title'], "text"),
<?php echo nl2br($_POST['ep_content'], "text") ?>,
GetSQLValueString($_POST['ep_date'], "date"));
请问应该要怎样改才对呢
我好像没什麽慧根 对不起><
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.105.93.249
※ 编辑: yilenwu 来自: 59.105.93.249 (10/22 00:26)