以下の簡単なラジオ グループを作成しましたが、PHP で呼び出すのに苦労しています。
<form id="form1" name="form1" method="get" action="pre_process.php">
<p>
<input name="q" type="text" size="80"/>
</p>
<p>
<input type="submit" id="search_button" />
</p>
<p>
<label>
<input type="radio" name="SearchFormat" value="0" id="SearchFormat_0" />
Agreggated</label>
<br />
<label>
<input type="radio" name="SearchFormat" value="1" id="SearchFormat_1" />
Non-Aggregated</label>
次のコードを使用していますが、未定義のインデックスのエラーが発生します: SearchFormat
if($_GET["SearchFormat"]==0)
{
do stuff...
誰かが私が間違っていることを教えてもらえますか?
ありがとう