Posted by Sjoerd on 03/30/06 21:07
Something like this:
<?php
if (isset($_POST['checkbox'])) {
file_put_contents($_POST['checkbox'], 'MyFormData.Txt');
}
echo '<input type="checkbox" name="checkbox"';
if (file_get_contents('MyFormData.txt')) echo 'checked="checked"';
echo '>';
?>
But does this code example really help you?
Navigation:
[Reply to this message]
|