我想不通爲什麼...<INPUT TYPE = 「圖像」>似乎沒有張貼
這工作:
<?php
if($_POST['test']) echo "posted";
?>
<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="submit" name="test" />
</form>
,這並不:
<?php
if($_POST['test']) echo "posted";
?>
<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="image" name="test" src="images/button.submit.png" />
</form>
我在這裏錯過了什麼嗎?因爲...這讓我瘋狂 – 2010-04-10 23:51:04
切換到GET,你會看到發生了什麼。 – graphicdivine 2010-04-10 23:59:13