Radio Button issues
| From: | Jon Phipps | Date: | Fri, 25 Jul 2003 15:02:16 +0000 |
| Subject: | Radio Button issues | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20905@lists.php.net to get a copy of this message | ||
I am having a couple problems with the following code
1) I need to return the value of the radio button (True or False)
2) I need to wait on the file write until the data is changed
if ($app_Security){
echo 'Yes','<input type="radio" name="security"
value="True" checked>';
echo ' ', 'No','<input type="radio"
name="security" value="False">';
}else{
echo 'Yes','<input type="radio" name="security"
value="True" >';
echo 'No','<input type="radio" name="security"
value="False" checked>';
}
$temp= 'Security=' + $value;
$handle=(fopen("e:\\jon\\site_dev\\php-html\\configs\\phphtml.cfg","a+"));
fwrite($handle, 'Security=');
fwrite($handle, //value of radio button goes here );
fclose($handle);
any help would be greatly appreciated
Thanks in advance
Jon