Thread
:
Coding Error?
View Single Post
#
4
06-01-2004, 02:32 PM
atholon
"ath-hole"
Join Date: Jan 2003
Location: Failville.
Posts: 11,357
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");
}
?>
__________________
atholon
View Public Profile
Visit atholon's homepage!
Find all posts by atholon