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>"; 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.".'"'; 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! Link to comment https://forums.phpfreaks.com/topic/136806-solved-if-logged-in/#findComment-714489 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.