RE: [PHP-WIN] Radio Button issues

From: Date: Fri, 25 Jul 2003 15:46:42 +0000
Subject: RE: [PHP-WIN] Radio Button issues
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20908@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) You will not get the return value of the radio button until your form has been posted back to the server. > 2) I need to wait on the file write until the data is changed Then this should be written upon submission of your form, not when you are sending the form to the client. May I recommend that you try reading the manual section dealing with forms before continuing? http://www.php.net/manual/en/tutorial.forms.php HTH, Mikey > 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 > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#20908) next »