Re: passing array data back to form in header?

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

 



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
002501c3509b$dcd67120$0303a8c0@AJW2">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
>



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux