Re: pg_query_params - Mailing list pgsql-php

From Raymond O'Donnell
Subject Re: pg_query_params
Date
Msg-id 4A6789C6.6060905@iol.ie
Whole thread Raw
In response to Re: pg_query_params  (Carol Walter <walterc@indiana.edu>)
Responses Re: pg_query_params  (Carol Walter <walterc@indiana.edu>)
List 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@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

pgsql-php by date:

Previous
From: Bill Moran
Date:
Subject: Re: pg_query_params
Next
From: Carol Walter
Date:
Subject: Re: pg_query_params