dewey_witt Posted November 12, 2007 Share Posted November 12, 2007 How do i get a checkbock to retain its state on a bad submit. FYI the form is not posting to the same page. Please help me O peeps of wisdom...... Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted November 12, 2007 Share Posted November 12, 2007 <?php if ($checked = 'yes'){ echo "<input name='' type='checkbox' value='' checked />"; } else { $checked = 'yes'; } ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.