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");

?>

Recommended Answers

All 2 Replies

thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.