CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Login form disconnect?

Print topic Send  topic

Author Message
Dennis
Posted: 08/12/2003, 1:39 AM

Well, I can't seem to use my login form anymore and I cant figure out how to fix it. It was generated with a new stand-alone application project with login authentication. I now have three sub sites under the original one and during the development cycle I have broken the link and cant locate the fix spot..
can anyone figure out the solution?

This is what I get when I login with valid account info:

------------------------------------
Database error: Invalid SQL: SELECT FROM employees WHERE ='test' AND ='passtest'
MySQL Error: 1064 (You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM employees WHERE ='test' AND ='passtest'' at line 1)
Session halted.
------------------------------------

From the error message, it appears that my login form is not passing the parameters? I can only find the parameters for the login record sql statement.

Thanks,
Dennis


Rene
Posted: 08/12/2003, 3:25 AM

i think the error is in your SQL statement .. in the where clause .. it should be
Where test = 'test' and passtest = 'passtest'
so that there is a comparison

Hope this helps....

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.