Jump to content

echo include blah.php help


flynryan692

Recommended Posts

Hello, I'm trying to make it so if they are logged in or out it shows a certian php file...its not working..any ideas? Sorry if this is an easy question..I'm still learning.

 

Here is what I have.

 

<?php

 

if(!session_is_registered('callsign') AND !session_is_registered('password') AND !session_is_registered('email') AND !session_is_registered('name')  ){

 

echo (include 'content/side.php');

 

}

else {

 

echo (include 'content/pilots.php');

 

}

 

?>

Link to comment
https://forums.phpfreaks.com/topic/167067-echo-include-blahphp-help/
Share on other sites

  • 3 weeks later...

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.