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" />
<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'])));

72 Like 30 Dislike
Previous php-forum Next php-forum
Other php-forum

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

Php - mysql store data and use it later?
Hi, i' making a login page at the moment, however my username + password is stored many different pl

Quick Syntax Question
Hi folks,

I'm getting the following error: "unexpected T_LNUMBER". I'm trying to b

Is this possible? If one file assigned to an ID...
I have a page that lists property listings assigned to a specific user (a manage page), with brief t

Code working in IE but not FireFox
I created a dynamic navigation list for my website based off of a table in my database. The code is

modifying query string with no page refresh
Hi everybody,
I've tried to get info about my problem all over the internet but i didn't find out

why preg_match_all does not return the number of matches
My regex looks like

X[^x{4e00}-x{9fa5}]*Y

(where X and Y are two Chinese characters)

login page does not execute a else statement
I've created a login page using sessions.
When an incorrect user name or password is entered then

in php, link returns to the line
When I add a link in a php page, the link word returns to the line (as a
would do)

Examp

Object Interfaces
EDIT: Never mind, I just updated to php 5.

Hey all,

I'm currently experimenting with p

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