Jump to content

AnonymousProgrammer

New Members
  • Posts

    6
  • Joined

  • Last visited

AnonymousProgrammer's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. https://drive.google.com/open?id=0B-5Ul-ssAcQNMkRLOGIwOWxlVHc here is the folder
  2. Actually never mind, i'm really sorry but i'm still getting the same error.
  3. Oh sorry, i didn't see the link t the bottom of your answer, I thought that was just your account description. I'll look into it. Hopefully someone does spoon-feed me the answer though.
  4. <?php /* Displays user information and some useful messages */ session_start(); ?> <!DOCTYPE HTML> <head> <title>CashBallz</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--> <link rel="stylesheet" href="assets/css/main.css" /> <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]--> <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]--> </head> <body class="landing"> <div id="page-wrapper"> <!-- Header --> <header id="header"> <h1 id="logo"><a href="index.php">CashBallz</a></h1> <nav id="nav"> <ul> <li><a href="index.php">Home</a></li> <li> <a href="#">Play</a> <ul> <li><a href="left-sidebar.php">Server 1</a></li> <li><a href="right-sidebar.php">Server 2</a></li> <li><a href="no-sidebar.php">Server 3</a></li> </ul> </li> <li><a href="elements.php">Paypal</a></li> <li><a href="loginsystem/loginpage.php" class="button special">Sign Up/Login</a></li> </ul> </nav> <br> <p style="float:right; font-size: 30px" > <?php if ($_SESSION['logged_in'] = true){ $first_name = $_SESSION['first_name']; $last_name = $_SESSION['last_name']; } ?> Welcome <?= $first_name.' '.$last_name ?></title> ?> </p> </header> I am getting the error: Undefined index: first_name in (my file name) on line 41 and, Undefined index: last_name in (my file name) on line 42 How do i fix it? I am new to php. Thank you!
×
×
  • 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.