Jump to content

Search the Community

Showing results for tags 'sessions....'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. ok I have a manager.php file which is constructed as such <?php require ("phpscript/stack_scripts.php");/// required add customer script $title= "Total Auto Clinic";/// Title For page ?> <?php $admin_view=mysql_query("SELECT * FROM repair_orders JOIN (serviced_vechicles) ON repair_orders.car_id=serviced_vechicles.car_id WHERE repair_status='1'"); $inshop=mysql_num_rows($admin_view); $fetch=mysql_fetch_array($admin_view); ?> <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, maxium-scale=1.0, minimum-scale=1.0, initial-scale=1.0"/> <meta name="viewport" content="width=device-width"> <?php include("css_stack.php") ?> <title><?php echo $title?></title> </head> <body> <div id="wrapper" > <?php include("structure/header.php") ?> <?php include("structure/nav.php") ?> <?php include("structure/contents.php") ?> <?php include("structure/footer.php") ?> </div> <?php include("java_stack.php") ?> </body> </html> if the user not logged in as a manager it will display the login page.. <?php if (!isset($_SESSION['manager'])){ include("content_structures/manager_signin.php"); }else{ /////////////////////////////////////////////// if (!isset($_GET['nav'])){ echo "nav is set"; include("content_structures/current_service.php"); }else { include("content_structures/".$_GET['nav'].".php"); } //it may vary from these three files // //include("content_structures/rev.php"); //include("content_structures/update_cars.php"); //include("content_structures/current_service.php"); //include("content_structures/update_info.php"); /////////////////////////////////////////////// } ?> else depending on which link is clicked that is the content which will display. Current_Service is set a default the problem that I am having is when I login as the manager and select one of the available links in the nav bar my session is ended and I am returned to the login page. any help will be greatly appreciated..
×
×
  • 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.