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 '&nbsp', '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