- Joined
- Jul 11, 2010
- Messages
- 45
- Reaction score
- 2
I've been working on a Flyff website, and I need to know if this code will work:
So, could this work?
*If I need to add more info please tell me*
Edit: I am really looking for this; will this function to the point that it could display a UserCP and an AdminCP with variables, that's my biggest concern.
PHP:
<?php
include ('config.php')
?>
<?php
{
if
(
$user = $admin
)
echo "$adminpanel";
else
echo "$userpanel";
}
?>
So, could this work?
*If I need to add more info please tell me*
Edit: I am really looking for this; will this function to the point that it could display a UserCP and an AdminCP with variables, that's my biggest concern.
Last edited: