Re: [PHP-DB] Wildcards

2002-05-06 Thread Clever
here). - Original Message - From: "Gurhan Ozen" <[EMAIL PROTECTED]> To: "Morten Nielsen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, May 06, 2002 5:41 PM Subject: RE: [PHP-DB] Wildcards > That query doesn't make sense... All you are loo

RE: [PHP-DB] Wildcards

2002-05-06 Thread Craig Vincent
> Hi, > I am trying to make a SELECT command like this: > >$qid =db_query(" >SELECT ID, NAME, ADDRESS >FROM users >WHERE ID=* AND NAME='John' >"); > > Is it somehow possible to have a wildcard, so it returns all > records, where > the name is john and the ID is not important?

RE: [PHP-DB] Wildcards

2002-05-06 Thread Gurhan Ozen
%' not '*' . Gurhan -Original Message- From: Morten Nielsen [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 4:46 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Wildcards Hi, I am trying to make a SELECT command like this: $qid =db_query(" SELECT ID, NAME, ADDR

Re: [PHP-DB] Wildcards

2002-05-06 Thread Ashley M. Kirchner
Morten Nielsen wrote: >$qid =db_query(" >SELECT ID, NAME, ADDRESS >FROM users >WHERE ID=* AND NAME='John' >"); > > Is it somehow possible to have a wildcard, so it returns all records, where > the name is john and the ID is not important? If you don't care about the ID, w

[PHP-DB] Wildcards

2002-05-06 Thread Morten Nielsen
Hi, I am trying to make a SELECT command like this: $qid =db_query(" SELECT ID, NAME, ADDRESS FROM users WHERE ID=* AND NAME='John' "); Is it somehow possible to have a wildcard, so it returns all records, where the name is john and the ID is not important? Regards, Morten --