Re: Replace punctuation in an associative array
[email protected] (The Doctor) Thu, 13 Apr 2023 22:37:18 -0000 (UTC)
| Newsgroups | comp.lang.php |
|---|---|
| Organization | NetKnow News |
| Message-ID | <[email protected]> |
In article <[email protected]>, J.O. Aho <[email protected]> wrote: >On 4/13/23 13:50, The Doctor wrote: >> In article J.O. Aho <[email protected]> wrote: > >>>> Try to pass a json from 1 form to another. >>> >>> This is why you have session cookies, no point of passing data from a >>> form to another. >>> >> >> I have >> >> <?=session_start(); >> error_reporting(E_ALL); >> ?> >> >> So I need to add a specific cookie/ token ? > >You just use the $_SESSION to store and fetch data as I mentioned in my >post from 7th of March. > > >The page you posted the values to: > >$_SESSION['serialized_order'] = serialize($order); > >and on the page where you need all the data: > >$order = unserialize($_SESSION['serialized_order']); > >if you need to modify the data, then read it from the session and then >store it back to the session. > >Keep in mind the session data is never sent to the browser, so the user >can't adjust the data on their side. > Will review. >-- > //Aho -- Member - Liberal International This is [email protected] Ici [email protected] Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b She didn't want to be evil, but by denying her nature she adopted it. -unknown Beware https://mindspring.com