X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id EA7C0D1B8F5 for ; Sun, 16 May 2004 09:09:16 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 12744-06 for ; Sun, 16 May 2004 09:08:55 -0300 (ADT) Received: from mail.exemail.com.au (mx2.exetel.com.au [220.233.0.3]) by svr1.postgresql.org (Postfix) with SMTP id A380BD1B9A9 for ; Sun, 16 May 2004 09:08:51 -0300 (ADT) Received: (qmail 17197 invoked by uid 0); 16 May 2004 12:08:50 -0000 Received: from unknown (HELO exemail.com.au) (Paul.Lynch@exemail.com.au@220.233.5.231) by aich.exetel.com.au with SMTP; 16 May 2004 12:08:50 -0000 Message-ID: <40A75B17.9010804@exemail.com.au> Date: Sun, 16 May 2004 22:14:15 +1000 From: Paul Lynch User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yasmine Kedoo , pgsql-php@postgresql.org Subject: Re: Parsing Data, Table to Form References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200405/23 X-Sequence-Number: 2742 Hi Yasmine, Could you post line 66 or point out which line is 66 in updaad.php. From the error message I would expect it to contain something like: pg_fetch_row($rowtoupdate, 0) From your code, if this failed it would be before the display of data in the form, and not after you click the update button. Which has me a little perplexed. In fact I would expect clicking on the update button to start loading program adupdate.php as per instructions in this line: echo "
\n"; So unless this error was hidden somehow by the form and then displayed after the click of update button, but that doesn't fit with my knowledge of browser behaviour. I am hoping the content on line 66 and a bit above and below it can help relate the error message to the code. Paul Yasmine Kedoo wrote: > but when i click the submit button on updaad.php, i'm getting the > following error : > > Warning: Unable to jump to row 0 on PostgreSQL result index 2 in > /home/webpages/yamkedoo/Project/updaad.php on line 66 > > and nothing is being parsed to the textfields on adupdate.php > (writeat.php). > > Do u know wat the problem may be? :-) > > Thanx again, your help is much appreciated > > Yasmine