premiso Posted January 22, 2009 Share Posted January 22, 2009 Just say my new title Thanks for that! Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/ Share on other sites More sharing options...
Daniel0 Posted January 22, 2009 Share Posted January 22, 2009 Hehe... you're welcome. You have an internal welcome topic along with mjdamato, KingPhillip, and haku who were also promoted today: http://www.phpfreaks.com/forums/index.php/topic,235282.0.html Also, you can switch between your supporter and guru title/badge via your profile if you for some reason should prefer the other one. Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-743792 Share on other sites More sharing options...
premiso Posted January 22, 2009 Author Share Posted January 22, 2009 Also, you can switch between your supporter and guru title/badge via your profile if you for some reason should prefer the other one. Sweeeeeet....maybe every other day I will be the other =P Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-743794 Share on other sites More sharing options...
dezkit Posted January 27, 2009 Share Posted January 27, 2009 I can code php look I can echo php (this is very hard to do.) <?php echo "php" ?> can i plz get phpfreaks guru statues i am very sad :( :( Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747173 Share on other sites More sharing options...
corbin Posted January 27, 2009 Share Posted January 27, 2009 OMG MANS! YOU ARE UBAR CODAR! Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747176 Share on other sites More sharing options...
Cosizzle Posted January 27, 2009 Share Posted January 27, 2009 OMG MANS! YOU ARE UBAR CODAR! wat he siad Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747206 Share on other sites More sharing options...
gevans Posted January 27, 2009 Share Posted January 27, 2009 I can code php look I can echo php (this is very hard to do.) <?php echo "php" ?> can i please get phpfreaks guru statues i am very sad :( :( It's tough code, but I managed to work my way through it and noticed the missing semi-colon Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747391 Share on other sites More sharing options...
Daniel0 Posted January 27, 2009 Share Posted January 27, 2009 The semi-colon is implicit if it's right before the PHP closing tag. Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747413 Share on other sites More sharing options...
gevans Posted January 27, 2009 Share Posted January 27, 2009 Well I never knew that. Probably wouldn't even consider elaving it out anyway, but still... didn't know that. Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747442 Share on other sites More sharing options...
Daniel0 Posted January 27, 2009 Share Posted January 27, 2009 I do it if I have something like this: Hi, <?php echo $name ?> If I have a block containing multiple statements then I'll always include the semi-colon though. Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747443 Share on other sites More sharing options...
gevans Posted January 27, 2009 Share Posted January 27, 2009 Never thought about it for inline php, I could give my keyboard a few more years if I did that! Cheers Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747487 Share on other sites More sharing options...
Cosizzle Posted January 27, 2009 Share Posted January 27, 2009 take it one step further and be uber lazy <? echo $name ?> Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747824 Share on other sites More sharing options...
Daniel0 Posted January 27, 2009 Share Posted January 27, 2009 That gives portability problems seeing as short_tags is turned off by default in PHP5+. If you were to do that then you might as well take it the full way and do <?= $name ?> though. Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-747830 Share on other sites More sharing options...
gevans Posted January 27, 2009 Share Posted January 27, 2009 Yea, I don't use short tags because I work for many cleints who have their own servers... A lot of different setups Quote Link to comment https://forums.phpfreaks.com/topic/142040-thanks/#findComment-748047 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.