phpgroupware-users
[Top][All Lists]
Advanced

[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: Fri, 11 Oct 2002 08:41:15 -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= " .

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

Thanks.
Chris.





reply via email to

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