session problem



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

.



Relevant Pages

  • Re: session problem
    ... I am currently doing a php logging in function with user level ... (meaning which user shld go to which page). ... of creating session parameters. ... //redirect to employee page to apply leave ...
    (comp.lang.php)
  • Re: Subreport?
    ... Subreports have REPORT and GROUP headers that you can use. ... > names on the subreport by basing the subreport on a query ... This information is stored in the Session ... The employee names are in the Employees table, ...
    (microsoft.public.access.reports)
  • Re: Subreport?
    ... This information is stored in the Session ... The employee names are in the Employees table, ... I enter the attendees in a subform that is tied to ... I have an Employees table and a Training Sessions ...
    (microsoft.public.access.reports)
  • Re: Accessing WS2K3 Through RDP | Unproper Logoff | Too Many Users - Cannot Connect
    ... Dave Patrick ....Please no email replies - reply in newsgroup. ... | the Florida employee and my disconnected session were still in process. ... And now that I disabled Remote Registry I cannot ...
    (microsoft.public.windows.server.general)
  • Re: Subreport?
    ... names on the subreport by basing the subreport on a query ... This information is stored in the Session ... The employee names are in the Employees table, ... I enter the attendees in a subform that is tied to ...
    (microsoft.public.access.reports)