novice, question - Mailing list pgsql-novice

From Andy Arledge
Subject novice, question
Date
Msg-id NDBBJNOEGLGKLPGMIGKPMEGLCCAA.mrgburg@worldnet.att.net
Whole thread Raw
List pgsql-novice
anyone have an idea why this won't work? when i print out "i" it says 893,
but it should be 41. and the values are null for the array $userinfo.

thanks in advance,

andy arledge

if(!($result= pg_exec($link, "SELECT * from signup, info1, info2 where
        (signup.username='$uname' or
         info1.username='$uname' or
         info2.username='$uname');"))){
         DisplayErrMsg(sprintf("Error in executing line %s stmt",
$selectStmt));
         exit();
    }
    for($i = 0; $userinfo = @pg_fetch_object($result, $i); $i++);

Attachment

pgsql-novice by date:

Previous
From: "Anthony E . Greene"
Date:
Subject: Re: pg_dump only certain rows
Next
From: Andrew McMillan
Date:
Subject: Re: novice, question