Hi all,
If i have the following code:
<TR>
<TD colSpan=3 height=10><IMG height=10 src="images/spacer.gif" width=10></TD>
</TR>
<TR vAlign=top>
<TD class=text2 width=17><INPUT type=radio CHECKED value="S" name="ship_method">
</TD>
<TD class=text2 width=251><B>Standard</B> (3 to 7 business days for shipping, plus processing time*) $3.95
</TD>
<TD width=10><IMG height=10 src="images/spacer.gif" width=10>
</TD>
</TR>
<TR>
<TD colSpan=3 height=10><IMG height=10 src="images/spacer.gif" width=10>
</TD>
</TR>
<TR vAlign=top>
<TD class=text2 width=17><INPUT type=radio value="E" name="ship_method">
</TD>
<TD class=text2 width=251><B>Express</B> (1 business day for shipping, plus processing time*) $7.85
</TD>
<TD width=10><IMG height=10 src="images/spacer.gif" width=10>
</TD>
</TR>
<TR>
<TD colSpan=3 height=10><IMG height=10 src="images/spacer.gif" width=10>
</TD>
</TR>
<?
// if ship_method is equal to "S" the i want the code below to show otherwise don't show the code below
?>
<TR vAlign=top>
<TD class=text2 width=17><input type="checkbox" name="reg_post" value="Y">
</TD>
<TD class=text2 width=251>If you would like SWIFTFLIX to ship your order <strong>Registered Post</strong> please tick the box on the left. (Standard Post Only)
</TD>
<TD width=10><IMG height=10 src="images/spacer.gif" width=10>
</TD>
</TR>
If ship_method equals "S" then i want the code:
<TR vAlign=top>
<TD class=text2 width=17><input type="checkbox" name="reg_post" value="Y">
</TD>
<TD class=text2 width=251>If you would like SWIFTFLIX to ship your order <strong>Registered Post</strong> please tick the box on the left. (Standard Post Only)
</TD>
<TD width=10><IMG height=10 src="images/spacer.gif" width=10>
</TD>
</TR>
.....to show.
Any ideas how to check which radio button is selected?
Cheers,
micmac