submit and checked help
Posted: Wed Jun 17, 2009 5:49 am
hi im trying to make something that will do something generate a key when a check boxs is check and generate something else when its not checked
i tryed
and the form looks like this
Parse error: syntax error, unexpected '{' in /web/administration/test.php on line 114
i tryed
Code: Select all
if( $_REQUEST['submit'] != '' ){
}
if( $_REQUEST['submit'] != '' && isset($_REQUEST['eval'] ) {
}this is the error
<input type="checkbox" name="eval" value="eval" />
<input type="submit" name="submit" value="Generate" />
Parse error: syntax error, unexpected '{' in /web/administration/test.php on line 114