Hi, i'm new to the forum and to web design.
I've created .PHP page with an input form of which one set is a radio group.
The Radio group returns the variable PPRet with a value of 1, 2 or 3 depending on which button has been selected.
The value is then submitted (post) and available on the next page and I can check the right values are there with:
<p><font face="Arial, Helvetica, sans-serif" size="3">Check value of radio button:</font><font face="Arial, Helvetica, sans-serif" size="3"><?php echo $_POST['PPRet']; ?></font></p>
If I now want to use the value to return different text depending on the value, what code would i use?
I've tried various versions of If statement but none seem to work - apologies but this must seem really basic and I'm presuming the code I need is just simple HTML rather than Javascript (or anything else)
For an example i'd be happy with text of 1 = Yes, 2 = no, 3 = Don't mind - so I can change the text later.
Thanks
