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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-php by date

  From Date Subject
Next Message Carol Walter 2009-07-22 22:09:10 Re: pg_query_params
Previous Message Bill Moran 2009-07-22 19:56:15 Re: pg_query_params