Re: [SMARTY] Using $HTTP_POST_VARS for $smarty.post...
| From: | Joscha Feth | Date: | Wed, 12 Mar 2003 18:33:25 +0000 |
| Subject: | Re: [SMARTY] Using $HTTP_POST_VARS for $smarty.post... | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8586@lists.php.net to get a copy of this message | ||
Paolo Nesti Poggi wrote:
> I guess the problem is that your function uses a foreach loop.
> Foreach works on a copy of the array.
with a list/each combination it would mess up, because I change the array i
am running through, so the only way is to make a copy or use a foreach loop.
But I got it now - I also changed my my_magic_quotes() to change a reference
and not return the whole array.
greets,
Joscha