novice, question

From: "Andy Arledge" <mrgburg(at)worldnet(dot)att(dot)net>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: novice, question
Date: 2001-02-12 04:50:16
Message-ID: NDBBJNOEGLGKLPGMIGKPMEGLCCAA.mrgburg@worldnet.att.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
winmail.dat application/ms-tnef 1.8 KB

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew McMillan 2001-02-12 05:11:34 Re: novice, question
Previous Message Anthony E . Greene 2001-02-10 23:18:17 Re: pg_dump only certain rows