ok i don't remember but can i put an include in an if statement?
this is my script:
<?php
if ( $user['close'] == 1 ) {
header( 'location: closed.php' );
}
else ( $user['close'] == 0 ) {
header( 'location: index2.php' );
}
?>
the error i get is:
Parse error: syntax error, unexpected '{' in /home/twysted/public_html/game/index.php on line 5
can someone tell me how i would get this to work, i have scripters block at the moment