Solar Posted December 13, 2008 Share Posted December 13, 2008 Is it possible to put coding inside the quotation marks of this code? For example if I wanted to put a flash game inside where it says; "Games are not available at this time, please check back soon" I've tried many ways and still can not succeed. Or is there a more proper way of doing it? if($session->logged_in){ echo "Welcome <b>$session->username</b>. <br><br>" ."Games are not available at this time, please check back soon.<br>"; Quote Link to comment https://forums.phpfreaks.com/topic/136806-solved-if-logged-in/ Share on other sites More sharing options...
suma237 Posted December 13, 2008 Share Posted December 13, 2008 check this code. echo "Welcome <b>ddd</b>. <br><br>" .'"'."Games are not available at this time, please check back soon.".'"'; Quote Link to comment https://forums.phpfreaks.com/topic/136806-solved-if-logged-in/#findComment-714486 Share on other sites More sharing options...
Solar Posted December 13, 2008 Author Share Posted December 13, 2008 Thanks a lot! It works! Quote Link to comment https://forums.phpfreaks.com/topic/136806-solved-if-logged-in/#findComment-714489 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.