Re: How to $_POST from a grid

From: Date: Wed, 24 Nov 2004 17:03:52 +0000
Subject: Re: How to $_POST from a grid
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202767@lists.php.net to get a copy of this message
--- Jason Wong <php-general@gremlins.biz> wrote: > > Since the grid only is echos of the recordset > fields, > > how does it know the correct PrimaryID to send > when I > > hit the submit button. I'm thinking this is > perhaps my > > problem. > > Hidden fields, or give the submit button a name > that's based on the primaryID. > Thank you. Close but not there yet. I placed the hidden field in the row with the repeat region on it. Named it the same as I did using the $_GET. Problem is it's only bringing up the last record returned. i.e. 5 records are on the grid. Which ever one I chose to update, the 5th record is the one coming up on the update form. Stuart

« previous php.general (#202767) next »