Hehehehehe :) sorry I forgot that :) "Query error: You have an error in your SQL syntax near '0') WHERE UserName= AND Password=)' at line 1"
Also when I put the right UserName and Password.. the same error!! So also there are sme other errors.. please see the whole script.. What I'm trying to do is : To UPDATE a value in the database (Login_Time and Logout_Time) and then caculate the distance between them and put it in (Distance) field.. then after that program the PHP file and put in it a LessonLimit value.. if the LessonLimit is the same of the Distance.. then make a value in that row (LessonNumber) = Its currently value + 1 (So for example : is LessonNumber = 2 then it must be 3...Etc..) Hope you got my meaning.. Waiting your help.. Regards.. ----- Original Message ----- From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 9:12 PM Subject: RE: [PHP] Still error messages!! [snip] So where are the errors? [/snip] Good question. You have not shown us the error message. Please show us and we can help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php