passing an array of objects after submit


Posted on 16th Feb 2014 07:03 pm by admin

How do I do this? This is what I have tried and it is not working.

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="submit" name="set" id="set" value="Set Variables" />
Did you know?Explore Trending and Topic pages for more stories like this.
<input name="storeArr" name="storeArr" type="hidden" value="<?php echo serialize(htmlentities($arrVars)); ?>" />
</form>

and after the $_POST['set'] is set

$arrVars = unserialize(html_entity_decode(stripslashes($_POST['storeArr'])));
No comments posted yet

Your Answer:

Login to answer
72 Like 30 Dislike
Previous forums Next forums
Other forums

Inserting 100x and 100y coordinates in mysql table - easy
Is there a way to insert this data into a mysql table named 'map' with the fields: 'x int 3' , 'y in

Find occurences of unicode characters in string
I need to prohibit filenames with everything but English characters and numbers but regexp and strin

SAP FICO learning materials
Hi all,
I am new to this world of SAP FICO. I have taken training on SAP FICO, but was wonderin

dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button tha

making web pages for accounts
Hello, I would like to make pages for accounts on my website im making (its not a real website..im j

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

cURL error
So here is my code... I got it off of here... http://www.youtube.com/watch?v=XcgQUsorF_8
Because

Reditecting pages based on logic
Newbie here, apologies in advance!

I am trying to use the header function to forward one of a

Need help with some php code :)
Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =D

I'm

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash