Hi, on the form2.html, I call the decode.php file. But decode.php file does run but variables are empty. Any suggestion is appreciate.
Thanks
Minh
<! -- form2.html
<BODY>
<CENTER><B>Please choose your delivery day and payment method</B></CENTER>
<FORM METHOD=POST ACTION="decode.php">
What is your full name <INPUT TYPE="TEXT" NAME="full_name">
<BR>Whats the best day for delivery
<SELECT NAME="day_of_week">
<OPTION>Monday
<OPTION>Tuesday
<OPTION>Wednesday
<OPTION>Thursday
<OPTION>Friday
</SELECT>
<BR><BR>How do you want to pay<BR>
Cheque <INPUT TYPE="RADIO" NAME="payment" VALUE="Cheque">
Visa Card<INPUT TYPE="RADIO" NAME="payment" VALUE="Visa">
Money <INPUT TYPE="RADIO" NAME="payment" VALUE="Funny Money" CHECKED>
<BR><BR><BR>
<INPUT TYPE="SUBMIT" VALUE="Send me the details !">
<INPUT TYPE="RESET" VALUE="Clear me!">
</FORM>
</BODY>
---------------- decode.php file----------
<BODY>
<?php
decode.php
echo "You entered the following information...<BR>";
echo "Your name is : <B>$full_name</B><BR>";
echo "You want the delivery to arrive on: <B>$day_of_week</B><BR>";
echo "The payment is: <B>$payment</B><BR>";
?>
<BR>
<A HREF="form2.html" >Back</A>
<BR>
<A HREF="http://form2.html" >Back this way</A>
</BODY>