/    Sign up×
Community /Pin to ProfileBookmark

How to Post and get the Multidimension Array value?

If it possible to post the Multidimension array in PHP

example

if have array like

$aList = Array ([P_GIFTID] => Array( [0] => 7 [1] => 8) [P_GIFTCATID] => Array ( [0] => 0 [1] => 0 ) [P_GIFTNAME] => Array ( [0] => Posters [1] => Home Decor) [P_GIFTMAPID] => Array ( [0] => posters.jpg [1] => 94_color_pencil.jpg))

<input type = “hidden” name = “hidArray value=”<?=$aList?>”>

after posting the form can i get $_REQUEST[“hidArray”]?
it is possible?

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogOct 09.2006 — See the [url=http://www.php.net/serialize]serialize()[/url] and [url=http://www.php.net/unserialize]unserialize()[/url] functions.
×

Success!

Help @tvarghese spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...