Re: OT: nooB html form question
- From: "Sjoerd" <sjoerder@xxxxxxxxx>
- Date: 30 Mar 2006 10:07:45 -0800
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?
.
- Follow-Ups:
- Re: OT: nooB html form question
- From: JWBlue
- Re: OT: nooB html form question
- References:
- OT: nooB html form question
- From: JWBlue
- OT: nooB html form question
- Prev by Date: Re: JavaScript to PHP?
- Next by Date: Re: Is there a PHP logging and analysing utility ?
- Previous by thread: OT: nooB html form question
- Next by thread: Re: OT: nooB html form question
- Index(es):