From: Raymond O'Donnell <rod@iol.ie>
To: Carol Walter <walterc@indiana.edu>
Cc: pgsql-php@postgresql.org
Subject: Re: pg_query_params
Date: Wed, 22 Jul 2009 22:51:02 +0100
Message-ID: <4A6789C6.6060905@iol.ie> (raw)
In-Reply-To: <07E5D103-2E8F-48EE-868E-8DAD10BE0C80@indiana.edu>
References: <889FC92A-B6F2-4276-BFD7-E0061ACC73B6@indiana.edu>
<20090722152938.402f6228.wmoran@potentialtech.com>
<07E5D103-2E8F-48EE-868E-8DAD10BE0C80@indiana.edu>
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
------------------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: rod@iol.ie, walterc@indiana.edu
Subject: Re: pg_query_params
In-Reply-To: <4A6789C6.6060905@iol.ie>
References: <889FC92A-B6F2-4276-BFD7-E0061ACC73B6@indiana.edu> <20090722152938.402f6228.wmoran@potentialtech.com> <07E5D103-2E8F-48EE-868E-8DAD10BE0C80@indiana.edu> <4A6789C6.6060905@iol.ie>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox