Hi everybody,

I just started using PostreSQL few days ago and i have a problem. What would 
PostgreSQL return for empty table or when the SELECT doesn't find any item 
specified in the condition.

$sth->prepare("SELECT * from userInfo where username=$usernameField");
$sth->execute;
@vector=$sth->fetchrow()

What would be stored in the vector or How would I find if the select didn't 
find anything at all.???

Sincerely,
Dawa

~o-----------------------------------------------0~
 | Dawa Lama Sherpa0-----------------------------|
 | P.O.Box : 12-51-------------------------------|
 | Grinnell, IA 50112----------------------------|
 | E-mail : [EMAIL PROTECTED]|
 | http://www.grinnell.edu/individuals/sherpa/---|
~0-----------------------------------------------0~

Reply via email to