title: Opening a Modal Window "using" PHP
body: <p>I am creating a log in system in PHP and I'm trying to make it a little nicer.</p>
  
  <p>When you log out, you get redirected back to index.php. Like this:</p>
  
  <pre><code>header("loaction: index.php?logout=true")
  </code></pre>
  
  <p>This makes the url look like www.mysite.com/index.php?logout=true. I then use the following code:</p>
  
  <pre><code>if(isset($_GET['logout'])) {
  
  $logoutvalue = $_GET['logout'];
  
  if($logoutvalue = "true") {
  $notification = "You've been logged out!";  
  }
  </code></pre>
  
  <p>to get the value of logout from the URL and do something with it.</p>
  
  <p>I have a small popout window that will display the notification variable's value. In this case it's "You've been logged out!" My question is how do I get the modal window to display when the page loads and when the url equals /index.php?logout=true ?</p>
  
  <p>All comments, answers, and suggestions are greatly appreciated!</p>
  
  <p>Thanks!
  - Ryan</p>