Jump to content

[SOLVED] If Logged In


Solar

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.