RE: How to $_POST from a grid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Graham Cossey <graham@xxxxxxxxxxxxxxx> wrote:

> Hi Stuart
> 
> Have you looked at the HTML generated by your PHP
> code?
> Using view source you'll see what values each of
> your 3 forms contains and
> therefore what will be submitted in the POST. My
> guess from one of your
> previous posts is that all 3 forms contain the same
> value in the (hidden) ID
> field. You were getting the value from a class but
> did not appear to be
> passing any kind of index to the class to determine
> which value to return.
> 
> HTH
> Graham
> 
Graham - hope your doing good!
It is 4:25am here but just fixed the problem. 
Solution - I created my standard repeat region around
all fields I want returned.  Within the repeat region
I put a form around the submit button and included the
hidden element as well in the form. So each record
returned has a seperate form around the button.  It
works! Records returned properly.

Stuart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux