[請益] 請問一下 這樣寫的問題
<?php
class recomment
{
public function guestRecomment()
{
echo "<form action="act.php" name="DemoForm" >";
echo "<input type="text" name="UserName" value="">";
echo "<input type="text" name="RealName" value="" readonly>";
echo "<input type="submit">";
echo "</form>";
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="" rel="nofollow">http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5" />
<title>無標題文件</title>
</head>
<body>
<?php
$a=new recomment();
$a->guestRecomment();
?>
</body>
</html>
--
請問一下
這樣寫哪邊有問題
怎麼跑不出來
可以請各位前輩幫我看一下嗎
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.216.142.217
※ 編輯: yorjing 來自: 61.216.142.217 (02/10 23:16)
推
02/10 23:19, , 1F
02/10 23:19, 1F
→
02/10 23:22, , 2F
02/10 23:22, 2F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章