Skip site navigation (1) Skip section navigation (2)

Re: pg_query_params

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Carol Walter <walterc(at)indiana(dot)edu>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_query_params
Date: 2009-07-22 21:51:02
Message-ID: 4A6789C6.6060905@iol.ie (view raw or flat)
Thread:
Lists: pgsql-php
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(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

pgsql-php by date

Next:From: Carol WalterDate: 2009-07-22 22:09:10
Subject: Re: pg_query_params
Previous:From: Bill MoranDate: 2009-07-22 19:56:15
Subject: Re: pg_query_params

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group