Re: $_POST vars
| From: | Stuart Dallas | Date: | Wed, 13 Apr 2011 17:59:28 +0000 |
| Subject: | Re: $_POST vars | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312376@lists.php.net to get a copy of this message | ||
On Wednesday, 13 April 2011 at 18:56, Jim Giner wrote:
And that includes adding entirely new elements in that array?
Yes, it's a standard array. It's not special other than being a superglobal.
> Do you have any suggestion on how to get the results of a query into POST
> easily or is it simply a for loop?
Not sure what you mean by "the results of a query". If you mean an array that you got from
a MySQL query (my best guess), then simply assign that array to $_POST and Bob's your slightly
perverted uncle!
And please include the list when replying so everyone can benefit from the discussion.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/