Hi ,
i have a form action that has three input field , what i would like to do is i want to put all the values of the POST array in other array, my code is
#how can i gather all those values of the POST array in one new array?
Hi ,
i have a form action that has three input field , what i would like to do is i want to put all the values of the POST array in other array, my code is
#how can i gather all those values of the POST array in one new array?
this is what i am doing
php
$test=array($_POST)
echo $test[‘id’];
but it returns undefined variables. help please
You are making two mistakes :o
<form action="send.php" method="POST">
and
[php]$test = $_POST;[/php]
thanks a lot , you are awesome!!