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...... Link to comment https://forums.phpfreaks.com/topic/76946-ok-realy-tho-i-know-ive-done-this-before/ 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'; } ?> Link to comment https://forums.phpfreaks.com/topic/76946-ok-realy-tho-i-know-ive-done-this-before/#findComment-389596 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.