I seek some help to retain checkbox state on redisplay.I only have one optional checkbox to indicate whether it's the user's first visit to the site
Form1:
Expand|Select|Wrap|Line Numbers
- <INPUT type="checkbox" name="guest" value="yes">
I tried it as below on Form2,but didnt work for me
Form2:
Expand|Select|Wrap|Line Numbers
- <INPUT type="checkbox" name="guest" value="yes" <?php if(guest == "yes"){echo " CHECKED";}?>>
Thank you