form values into an array
Posted: Sat Dec 11, 2004 5:11 am
I have a client that has a huge form (60+ values) is there any way to make a script that will take all of those form values and put them into an array??
Thanks
Thanks
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$myOwnArray = $_POST;
$myOwnArray = $_GET;Code: Select all
<?php
$myArr = array('$_POST[var1]', '$_POST[var2]'.....);
?>Code: Select all
$myOwnArray = $_POST;
print_r($_POST);
print_r($myOwnArray);