Reply to Re: Error 1054: Unknown column xxxx in WHERE clause..

Your name:

Reply:


Posted by Tim Van Wassenhove on 06/25/05 11:26

On 2005-06-25, ndsoumah@gmail.com <ndsoumah@gmail.com> wrote:
> Hello Guys
>
> I'm trying to run this query
>
> $uneRequete = "SELECT * FROM Usager WHERE motDePasse =
> {$loginPassword}";
>
> and I get this error message : Error 1054: Unknown column 'xxxx' in
> WHERE clause.....
> where 'xxxx' is the content of $loginPassword

Arghl,

my guess is that you have $loginPassword = 'xxxx';

-> $uneRequete = "SELECT * FROM Usager WHERE motDePasse = xxxx";

Should be

-> $uneRequete = "SELECT * FROM Usager WHERE motDePasse = 'xxxx'";

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация