目前,我有以下代碼:輸入型圖像造成混亂
<form action="process.php" method="POST">
<fieldset class="form-search">
<input type="text" class="input-text" name="keyword" value="Enter Keyword/Catalogue Code" id="textBox"/>
<?php echo $form->error("keyword"); ?>
<input type="image" class="catalog_search_top" name="search" alt="Search" src="../images/search_form_button.png" />
</fieldset>
我的問題是,提交時圖像不這樣做,就好像它的圖像類型提交相同。
當用我提供的代碼提交表單時,是否會期望它會形成process.php併發送$ _POST ['submit']?
謝謝
爲什麼發送'$ _POST ['submit']'。你沒有任何字段命名'提交' –
相關:[奇怪的x&y POST值被髮送的形式](http://stackoverflow.com/questions/1797894/strange-xy-post-values-being-sent -通知)。 – jensgram