php把文本框回车转换成html换行
- "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- "http://www.w3.org/1999/xhtml">
- "Content-Type" content="text/html; charset=gb2312" />
无标题文档 - name="form1" method="post" action="">
- id="t" cols="45" rows="5">
- "submit" name="button" id="button" value="提交" />
- if($_POST){
- echo str_replace(chr(13),'
',$_POST['t']);- }
- ?>


