Re: [PHP-DB] problem - query inside a function

2003-10-16 Thread Luis M Morales C
My Comment bellow: On Wednesday 15 October 2003 14:38, Kirk Babb wrote: Hi, I'm having trouble with a query inside a function. I thought I'd written this so that the function would fail if email and zipcode supplied were not in the same row (trying to use those two things to identify the

Re: [PHP-DB] problem - query inside a function

2003-10-16 Thread CPT John W. Holmes
From: Luis M Morales C [EMAIL PROTECTED] My Comment bellow: On Wednesday 15 October 2003 14:38, Kirk Babb wrote: Hi, I'm having trouble with a query inside a function. I thought I'd written this so that the function would fail if email and zipcode supplied were not in the same row

RE: [PHP-DB] problem - query inside a function

2003-10-16 Thread Hutchins, Richard
PROTECTED] Sent: Thursday, October 16, 2003 10:57 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DB] problem - query inside a function From: Luis M Morales C [EMAIL PROTECTED] My Comment bellow: On Wednesday 15 October 2003 14:38, Kirk Babb wrote: Hi, I'm having

[PHP-DB] problem - query inside a function

2003-10-15 Thread Kirk Babb
Hi, I'm having trouble with a query inside a function. I thought I'd written this so that the function would fail if email and zipcode supplied were not in the same row (trying to use those two things to identify the user), but I don't think that is what is happening because I can enter the wrong

RE: [PHP-DB] problem - query inside a function

2003-10-15 Thread Hutchins, Richard
are used in your code. $sql = SELECT * FROM contact_info WHERE zipcode='$zipcode' AND email=\.{$email}.\; Hope this helps. -Original Message- From: Kirk Babb [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 2:38 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] problem - query