Thread: Coding Error?
View Single Post
  #4  
Old 06-01-2004, 02:32 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Wasn't it lol, it as a missing ; after the $user=1

This works:
<?php
$user=1;
If ($user == 1)
{
include ("./index1.php");
}
If ($user != 1)
{
include ("./admin.php");
}
?>
__________________
Reply With Quote