pass array of inputs to another php page

i need to make search i wil take the inputs to another page

i have java code conflict so i will go another page how to da?
AHMED SAMYownerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris StanyonWebDevCommented:
You can pass your inputs to another page by simply POSTing a form.

<form method="post" action="anotherpage.php">
    <input type="text" name="firstName">
    <input type="text" name="lastName">
    <input type="submit" value="Go">

Open in new window

When you click on the Go button, the info entered into firstName and lastName will be sent to anotherpage.php as part of the $_POST array:

$_POST['firstName'] = "Some Value"
$_POST['lastName'] = "Some Value"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AHMED SAMYownerAuthor Commented:
thanks but you came late i have this code

first page
$Mixed = array("1","1","1");
$Text = json_encode($Mixed);
$RequestText = urlencode($Text);
<a href="search.php?cluster=<?php echo $RequestText; ?>">Click</a>

Open in new window

second page is
$Text = urldecode($_REQUEST['cluster']);
$Mixed = json_decode($Text);
print_r( $Mixed);

echo $Mixed;


Open in new window

as this example i did my job

this matter al ready finished
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.