convert hidden form to get url
| From: | Martin Reeves | Date: | Mon, 20 Dec 2004 15:51:22 +0000 |
| Subject: | convert hidden form to get url | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-204704@lists.php.net to get a copy of this message | ||
Hi there,
Anyone got any suggestions on the best way to convert the snippet of code
below (which I'm dynamically collecting from another website) to a get url
(i.e.
http://www.somewebsite.co.uk/Availability?NUM_OF_ADTS=1&CABIN=E&B1_DAY=27
)
<form action="http://www.somewebsite.co.uk/Availability.cgi"
method="POST"
name="flightsForm" id="flightsForm">
<input type="hidden" name="NUM_OF_ADTS" value="1"/>
<input type="hidden" name="CABIN" value="E"/>
<input type="hidden" name="B1_DAY" value="27"/>
</form>
Thanks
Martin