View Single Post
  #6 (permalink)  
Old March 10th, 2006, 11:53 AM
Gotaka4 Gotaka4 is offline
Authorized User
 
Join Date: Jan 2005
Location: , , .
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

let's change these lines first:

$q1 = "SELECT StaffID
               FROM fault_form
               WHERE StaffID = 'user';";

to:

$ql = "SELECT StaffID FROM fault_form WHERE StaffID = '$user'";

try that and tell me what error you are getting exactly as it appears on your browser.

----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect to learn something whose negligence will increase your ignorance - Imam Jafar Sadeq
Reply With Quote