私の質問は、どうすればでなく、はデフォルトでページにフォームを表示できますか? たとえば、私はオプション付きのプロキシを持っていますが、実際には、私はではありませんはデフォルトでオプションを表示したいが、オプションフォームへのリンクが必要です。あなたが私が何を意味するのか分からないなら、ここで私が取り組んでいるページはproxy with optionsです。PHPで隠しフォームを表示しない方法
また、ここで私は、現在のページに持っているコード:
<form action="includes/process.php?action=update" method="post" onsubmit="return updateLocation(this);" class="form">
<input type="text" name="u" id="input" size="40" class="textbox">
<input type="submit" value="Go" class="button"> [<a style="cursor:pointer;" onclick="document.getElementById('options').style.display=(document.getElementById('options').style.display=='none'?'':'none')">options</a>]
<ul id="options">
<?php foreach ($toShow as $option) echo '<li><input type="checkbox" name="'.$option['name'].'" id="'.$option['name'].'"'.$option['checked'].'><label for="'.$option['name'].'" class="tooltip" onmouseover="tooltip(\''.$option['escaped_desc'].'\')" onmouseout="exit();">'.$option['title'].'</label></li>';?>
</ul>
<br style="clear: both;">
</form>
<div class="navigation">
<!--[glype:error]-->
<?php ## Display error messge if applicable
if (isset($_SESSION['msg'])) {
echo '<div id="error">',$_SESSION['msg'],'</div>';
unset($_SESSION['msg']);
} ?>
編集:また、私はテキストとチェックボックスを揃えることができどのような方法がありますか?
ありがとう:[オプション]ボックスのあなたのhtmlでこのコードを使用します!出来た! – Nick
うれしい私は助けることができました!それが正しい答えとしてマークを働かせた場合:) –