Jump to content

JeremyBenson11

New Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About JeremyBenson11

  • Rank
    Newbie
  1. If you're navigating to other pages you need session_start() at the top of them too if you're going to access session data. Session start doesn't just start a new session, but allows you to access the variables in your server. index.php session_start(); $_SESSION['hello'] = 'Hi, there!'; echo '<a href="show.php">Click Me!</a>'; show.php session_start(); echo $_SESSION['hello']; When you load index you'll get a hello message set to hello index in $_SESSION. When you navigate to show.php you will see the message.
  2. Hello, I'm having a bit of trouble interpolating Bootstrap HTML from database rows. It's coming out kind of right, but I have font-awesome flags popping up everywhere, and my footer doesn't stretch the entire screen. Kind of like a div isn't being closed. I'd appreciate any help offered. Every three items is a row. There are three columns per row. PHP CODE foreach($retrievedListings as $key => $val) { if($key === 0) { echo '<div class="row"> <div class="col-lg-4"> <div class="column-1"> <h4 style="color:darkblue;">
×
×
  • 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.