jamesxg1 Posted January 29, 2009 Share Posted January 29, 2009 can anyone do the following for me ? make this little example into a code IF({$_SESSION['groupid'] = 'A' echo("here"); Thanks Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/ Share on other sites More sharing options...
gaza165 Posted January 29, 2009 Share Posted January 29, 2009 <?php if($_SESSION['groupid'] == 'A') { echo("here"); } ?> ???????????????????????????????????????? Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750174 Share on other sites More sharing options...
.josh Posted January 29, 2009 Share Posted January 29, 2009 enjoy. <?php echo <<<WEDONTWRITECODEFORYOU IF($_SESSION[groupid] = 'A' echo("here"); WEDONTWRITECODEFORYOU; ?> Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750177 Share on other sites More sharing options...
gaza165 Posted January 29, 2009 Share Posted January 29, 2009 i dont really understand what hes asking for? Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750180 Share on other sites More sharing options...
DarkWater Posted January 29, 2009 Share Posted January 29, 2009 enjoy. <?php echo <<<WEDONTWRITECODEFORYOU IF($_SESSION[groupid] = 'A' echo("here"); WEDONTWRITECODEFORYOU; ?> I lol'd. Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750181 Share on other sites More sharing options...
gaza165 Posted January 29, 2009 Share Posted January 29, 2009 lol i bet he uses that code!! LOLZ Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750184 Share on other sites More sharing options...
jamesxg1 Posted January 29, 2009 Author Share Posted January 29, 2009 i dont really understand what hes asking for? Didnt Work :S Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750188 Share on other sites More sharing options...
gevans Posted January 29, 2009 Share Posted January 29, 2009 We're not going to write your code for you, if you a have a question regarding your code ask it. If you can't write a simple if condition then I doubt you've set a session variable Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750192 Share on other sites More sharing options...
redarrow Posted January 29, 2009 Share Posted January 29, 2009 love the eof <?php session_strat(); echo <<<WEDONTWRITECODEFORYOU IF($_SESSION[groupid] = 'A' echo("here"); WEDONTWRITECODEFORYOU; ?> Link to comment https://forums.phpfreaks.com/topic/143049-solved-can-anyone-make-this-into-a-code/#findComment-750204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.