[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-users] Timetrack error

From: Chris Woods
Subject: [Phpgroupware-users] Timetrack error
Date: Thu, 10 Oct 2002 23:24:59 -0500

It seems to work but, What does the below mean?  I have uninstalled and
reinstalled a number of times.  This is on the 'Employee IN/OUT Board'.
I am assuming there is a problem with my database. 

db->query("select inorout from phpgw_ttrack_emplyprof" . " where id= " .
$uid); $GLOBALS['phpgw']->db->next_record(); $status =
$GLOBALS['phpgw']->db->f("inorout"); $prefix = lang("you are currently
checked"); switch ($status) { case "I": $stat_word = lang("In"); $action
= lang("Check Out"); $suffix = lang("when you leave work"); $togval =
"O"; break; default: $stat_word = lang("Out"); $action = lang("Check
In"); $suffix = lang("while you are at work"); $togval = "I"; break; }
// This part will display basically a form with only a submit // button
with the appropriate text to set in or out status. ?>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]