Posted by scout3014 on 07/26/07 08:35
Hi
I am currently doing a php logging in function with user level
(meaning which user shld go to which page). Currently i am at a loss
of creating session parameters. The following code is used to
determine which user is logging in:
$level = $row['userlevel'];
switch ($level){
case 1:
//redirect to employee page to apply leave
include("employee.php");
break;
case 2:
//redirect to employer showing all his employees applying
leave
include("employer.php");
break;
on e same file i have started my session with the intention of
creating some session attributes.
however when i try to do that i get tis message:
Fatal error: Call to undefined function start() in C\......login.php
on line 9
Line 9 is session.start();
Anyone can help me with this issue. Thanks alot
Navigation:
[Reply to this message]
|