[請益] radio 輸出的value全都為"on"
各位先進~~請問一下
我選radio以後...每個radio的value都不相同 但是我用echo測試 印出來的值都是on
實在不解...相當困惑ˊˋ 也試過echo submit的value 是可以的啊
================程式碼==================================================
<form name="use" method=post >
<H2 ALIGN="CENTER">使用者介面</H2>
<table align="CENTER" width="366" border="1">
<tr>
<th ALIGN="left"><input type="radio" name="goal" value"table" id="table" checked="checked">Table</th>
</tr>
<tr>
<th ALIGN="left"><input type="radio" name="goal" value"record" >Record</th>
</tr>
<tr>
<th ALIGN="left"><input type="radio" name="goal" value"field" >Field</th>
</tr>
<tr>
<td colspan="2" align="RIGHT"><input type="submit" value="確認"></td>
</tr>
</table>
</form>
<?
echo $_POST["goal"];
?>
還懇請各位先進能幫我解惑一下...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.230.121.84
推
12/27 02:31, , 1F
12/27 02:31, 1F
→
12/27 02:31, , 2F
12/27 02:31, 2F
→
12/27 02:34, , 3F
12/27 02:34, 3F
→
12/27 02:34, , 4F
12/27 02:34, 4F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章
0
18