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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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>'; } |