Re: passing array data back to form in header?
| From: | Ken | Date: | Wed, 23 Jul 2003 00:40:08 +0000 |
| Subject: | Re: passing array data back to form in header? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29415@lists.php.net to get a copy of this message | ||
hi guys,
why don't you store all this array data in the session cookies, unset it
when you r not using it anymore? Because session can store object (include
array)
"Aaron Wolski" <aaronjw@martekbiz.com> wrote in message
news:002501c3509b$dcd67120$0303a8c0@AJW2...
> Hi Guys,
>
> the topic pretty much covers it. I have a script and if it errors out..
> I send a bunch of values back to the form. I'm having difficulity
> figuring out how to pass array data that is/was selected back to the
> form.
>
> I can send the non array values no problem - eg:
>
> header("Location: patternsedit.php?error=1&id=".rawurlencode($id).
> "&designer=".rawurlencode($designer).
> "&name=".rawurlencode($name).
> "&overallDesc=".rawurlencode($overallDesc).
> "&patternsColumn=".rawurlencode($patternsColumn).
> "&patternsName=".rawurlencode($patternsName).
> "&price=".rawurlencode($price).
> "&alt1Title=".rawurlencode($alt1Title).
> "&alt1Desc=".rawurlencode($alt1Desc).
> "&alt2Title=".rawurlencode($alt2Title).
> "&alt2Desc=".rawurlencode($alt2Desc).
> "&alt3Title=".rawurlencode($alt3Title).
> "&alt3Desc=".rawurlencode($alt3Desc).
> "&alt4Title=".rawurlencode($alt4Title).
> "&alt4Desc=".rawurlencode($alt4Desc).
> "&alt5Title=".rawurlencode($alt5Title).
> "&alt5Desc=".rawurlencode($alt5Desc));
> exit;
>
> No clue how to add array data to the above and then integrated it back
> with a form?
>
> Any thoughts?
>
> Thanks!
>
> Aaron
>