这是 [email protected] (27-Jan-1999) 所提供的范例
FORM ACTION=bla
H2 Restaurant Description H2
Name of restaurant:
INPUT TYPE=text NAME="restname" VALUE=" ?
echo HTMLSpecialChars($restname); ? "
!-- 变量 $restname 是酱子的 $restname=""The White Horse""; --
BR
输入描述 (若您会 HTML,可直接使用): BR
textarea NAME="descript" ?
echo HTMLSpecialChars($descript);
? /textarea
INPUT TYPE=submit
/FORM
参考
htmlentities() nl2br()
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)