Postfields in WML does not pass all variables to next WML page

This is a discussion on Postfields in WML does not pass all variables to next WML page within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I am writing a function as listed below. My problem is that this form passes only the variable 'state' and ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-30-2004
uitbundig
 
Posts: n/a
Default Postfields in WML does not pass all variables to next WML page

I am writing a function as listed below. My problem is that this form passes
only the variable 'state' and not the others.
Can somebody help me?

Thanks,

Gustaaf


function SelectIndia($land,$mcc,$opco,$iru,$cc) {

print 'Staat: <select name="state">
<option value="AP">Andhra Pradesh</option>
<option value="AR">Arunachal Pradesh</option>
<option value="AS">Assam</option>
<option value="BH">Bihar</option>
<option value="CH">Chennai/Madras</option>
<option value="CG">Chatisgargh</option>
<option value="DE">Dehli</option>
<option value="MA">Goa</option>
<option value="GU">Gujarat</option>
<option value="HA">Haryana</option>
<option value="HI">Himachal Pradesh</option>
<option value="JA">Jammu / Kashmir</option>
<option value="JH">Jharkland</option>
<option value="KA">Karnataka</option>
<option value="KE">Kerala</option>
<option value="KO">Kolkata/Calcutta</option>
<option value="MP">Madhya Pradesh</option>
<option value="MA">Maharashtra</option>
<option value="MN">Manipur</option>
<option value="ME">Meghalaya</option>
<option value="MB">Mumbai/Bombay</option>
<option value="NA">Nagaland</option>
<option value="NI">Nizoram</option>
<option value="OR">Orissa</option>
<option value="PO">Pondicherry</option>
<option value="PU">Punjab</option>
<option value="RA">Rajasthan</option>
<option value="TN">Tamil Nadu</option>
<option value="TR">Tripura</option>
<option value="UE">Uttar Pradesh East</option>
<option value="UW">Uttar Pradesh West</option>
<option value="UT">Uttaranchal</option>
<option value="WB">West Bengal</option>
</select>

<br/>

<anchor>
Selecteer
<go href="roamform.php" method="get">
<postfield name="opco" value="$(opco)"/>
<postfield name="type" value="2"/>
<postfield name="state" value="$(state)"/>
<postfield name="lnd" value="$(land)"/>
<postfield name="iru" value="$(iru)"/>
<postfield name="cc" value="$(cc)"/>
<postfield name="mcc" value="$mcc"/>
</go>
</anchor>';

}


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:36 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0