Thread
:
Any PHP guys here? Need quick help with an IF statement
View Single Post
03-10-2009, 10:13 PM
teh ghey
Guest
Posts: n/a
Quote:
Originally Posted by
jimbona
Code:
<?PHP if($logged_in == 1 && $_SESSION['group_id'] == 5) { //do whatever } ?>
thanks, this is in the middle of a php page, and actually inside another IF statement, so should I take out the <?PHP
and the ?>
?