Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 696A7634376 for ; Wed, 22 Jul 2009 18:51:59 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 46233-01-4 for ; Wed, 22 Jul 2009 18:51:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail16.svc.cra.dublin.eircom.net (mail16.svc.cra.dublin.eircom.net [159.134.118.215]) by mail.postgresql.org (Postfix) with SMTP id 2B360632EF5 for ; Wed, 22 Jul 2009 18:51:04 -0300 (ADT) Received: (qmail 14914 messnum 3308002 invoked from network[86.46.53.191/unknown]); 22 Jul 2009 21:51:02 -0000 Received: from unknown (HELO ?127.0.0.1?) (86.46.53.191) by mail16.svc.cra.dublin.eircom.net (qp 14914) with SMTP; 22 Jul 2009 21:51:02 -0000 Message-ID: <4A6789C6.6060905@iol.ie> Date: Wed, 22 Jul 2009 22:51:02 +0100 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Carol Walter CC: pgsql-php@postgresql.org Subject: Re: pg_query_params References: <889FC92A-B6F2-4276-BFD7-E0061ACC73B6@indiana.edu> <20090722152938.402f6228.wmoran@potentialtech.com> <07E5D103-2E8F-48EE-868E-8DAD10BE0C80@indiana.edu> In-Reply-To: <07E5D103-2E8F-48EE-868E-8DAD10BE0C80@indiana.edu> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090722-0, 22/07/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.022 tagged_above=-10 required=5 tests=AWL=0.022 X-Spam-Level: X-Archive-Number: 200907/9 X-Sequence-Number: 4039 On 22/07/2009 20:37, Carol Walter wrote: > No, I mean if I select select a name from the database but the name > isn't found. I'm doing a log in form. I want to check to see if the > user that's logging in exists in my database. I can check the number of > rows returned or something like that, but I wondered if the function > returns a false. No, it'll still return a rowset (or whatever such things are called in PHP), but one that doesn't contain any rows. Ray. ------------------------------------------------------------------ Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@iol.ie Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals ------------------------------------------------------------------