これが可能かどうかはよくわかりませんが、ここに私が理解できない問題があります。
その結果がこのリンクにあります。
最終結果リンク。
http://www.website.com/index.php?a=price_range_A_B
from は使用できませんが、入力フィールドは使用できます。何か案は?
これが可能かどうかはよくわかりませんが、ここに私が理解できない問題があります。
その結果がこのリンクにあります。
最終結果リンク。
http://www.website.com/index.php?a=price_range_A_B
from は使用できませんが、入力フィールドは使用できます。何か案は?
編集: OPが質問を変更したため、以下の回答を更新しました。
これを行う方法の例を挙げています。
<?php
$action_path = "index.php";
?>
<script type="text/javascript">
function submitData() {
var a = null;
var _A = document.getElementById("_A").value;
var _B = document.getElementById("_B").value;
a = "price_range_" + _A + "_" + _B;
window.location.href = "<?php echo $action_path; ?>?a=" + a;
return;
}
</script>
<input type="text" id="_A" maxlength="6" size="5" />
<input type="text" id="_B" maxlength="6" size="5" />
<input type="button" value="Submit" onclick="submitData();" />
<?php
// the code to be put after </form> goes here
?>