You are here: Re: mysql query field name space « PHP SQL « IT news, forums, messages
Re: mysql query field name space

Posted by JDS on 08/02/05 19:34

On Tue, 02 Aug 2005 14:41:19 +0000, Oak Hall wrote:

> Yes, didn't work.
> ex:
> $user='My Name';
> $pass='1234'
> $query="SELECT * FROM security WHERE 'User Name'='$user' AND
> Password='$pass'";
>
> finds no matches.
>
> finds some if I take out the user name and just look for a matching pass
> word.
>
> Thanks
> Oak

And, um, where are the `backticks` in your example?

`Backtick` is NOT the same thing as 'single quote'!!


--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

Navigation:

[Reply to this 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

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