0

Haven't coded in php in a while and I'm now drawing blanks. Could someone simply correct my syntax on this?

<?php 
session_start(); 

if $_SESSION['user_name'] == 'john', 'mike';
include ("audit_live.html"); 
else 
include ("audit.html");

?>
2
Contributors
2
Replies
8
Views
2 Years
Discussion Span
Last Post by hyperj123
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.