※ 引述《pinkisme ()》之銘言:
: 在一個頁框組裡,分成上下兩個部分,
: 上面的網頁沒辦法以<??>讓我寫PHP的程式碼,
: 下面的網頁卻可以用<??>撰寫,
: 請問是為什麼呢?
兩個網頁是放在同一個主機,
上面的網頁:
<!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>
<form action="test_5.php" method="post" name="form1" target="mainFrame"
id="form1">
<input type="text" name="username" />
<input type="submit" name="Submit" value="搜尋" />
</form>
</body>
</html>
下面的網頁:
<!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>
<?
echo $_POST['username'];
?>
</body>
</html>
我是以dreamweaver來寫,上面的網頁不能用<??>寫
不會變色,不曉得是為什麼?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.156.75
推
10/06 01:34, , 1F
10/06 01:34, 1F
推
10/06 01:36, , 2F
10/06 01:36, 2F
→
10/06 02:17, , 3F
10/06 02:17, 3F
→
10/06 02:18, , 4F
10/06 02:18, 4F
→
10/06 02:18, , 5F
10/06 02:18, 5F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):