pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Lynch <paul.lynch@exemail.com.au>
To: Yasmine Kedoo <yazkedoo@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Re: Parsing Data, Table to Form
Date: Sun, 16 May 2004 22:14:15 +1000
Message-ID: <40A75B17.9010804@exemail.com.au> (raw)
In-Reply-To: <BAY14-F351pbzE3zLEu0004788f@hotmail.com>
References: <BAY14-F351pbzE3zLEu0004788f@hotmail.com>

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 "<form method=post action=adupdate.php>\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





view thread (10+ messages)  latest in thread

Message-ID: <40A75B17.9010804@exemail.com.au>
Permalink:  ../40A75B17.9010804@exemail.com.au/
Also on:    postgresql.org/message-id/40A75B17.9010804@exemail.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: paul.lynch@exemail.com.au, yazkedoo@hotmail.com
  Subject: Re: Parsing Data, Table to Form
  In-Reply-To: <40A75B17.9010804@exemail.com.au>
  References: <BAY14-F351pbzE3zLEu0004788f@hotmail.com> <40A75B17.9010804@exemail.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox