> <TD valign="center"><input type="radio" name="radiobutton1" > value="reg1" <? if ($radiobutton1=="on") { print "selected"; > ?>> </TD>
You either need to remove the opening {, or put a corresponding } at the end of the if() statement. So, either: <? if ($radiobutton1 == "on") { print "selected"; } ?> Or <? if ($radiobutton1 == "on") print "selected"; ?> HTH Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] _____________________________________________________________________ This message has been checked for all known viruses by UUNET delivered through the MessageLabs Virus Control Centre. For further information visit http://www.uk.uu.net/products/security/virus/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]