boeing747fp
11-24-2003, 08:12 PM
i have a search form that has 2 radio buttons on it and depending on which one is selected, i want it to search either my store or Amazon.com. however, amazon.com's search uses POST and i use GET.
i have it set up a page where the form is sent to and it has this code
<?php
$q = $_GET['q'];
if($_GET['area'] == "here"){
header("location: search.php?q=$q");
}
if($_GET['area'] == "amazon"){
HERE IS WHERE I RUN INTO TROUBLE!
-----
is there any way i can resend the form thro different methods and actions?
i have it set up a page where the form is sent to and it has this code
<?php
$q = $_GET['q'];
if($_GET['area'] == "here"){
header("location: search.php?q=$q");
}
if($_GET['area'] == "amazon"){
HERE IS WHERE I RUN INTO TROUBLE!
-----
is there any way i can resend the form thro different methods and actions?