[PHP] Re: How to $_POST from a grid

2004-11-24 Thread Daniel Schierbeck
Stuart Felenstein wrote: I have set up a record grid, where the user may see a list of their records. Repeat region, etc. There is a button next to each record the user may click to allow them to update the particular record. This all worked fine with $_GET where I did a link on the button to

Re: [PHP] Re: How to $_POST from a grid

2004-11-24 Thread Stuart Felenstein
--- Daniel Schierbeck [EMAIL PROTECTED] wrote: I'd go with a POST form and a JavaScript form name=grid method=post input type=hidden name=primary_id / input type=button onclick=document.grid['hidden'].value='123' value=foobar / /form Yes , that is exactly what I'm doing

Re: [PHP] Re: How to $_POST from a grid

2004-11-24 Thread Jason Wong
On Thursday 25 November 2004 04:29, Stuart Felenstein wrote: Yes , that is exactly what I'm doing but it's returning only the last record. So here below is an example of the grid results. with $_GET I click on one of the returns under primaryID, if I choose 1stRecord, 1stRecord comes up in