Re: Still error messages!!

From: Date: Wed, 28 Jan 2004 17:22:28 +0000
Subject: Re: Still error messages!!
Groups: php.general 
Request: Send a blank email to php-general+get-176081@lists.php.net to get a copy of this message
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" <jay.blanchard@niicommunications.com> To: "Radwan Aladdin" <raladin@emirates.net.ae>; <php-general@lists.php.net> 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.

« previous php.general (#176081) next »