hi,
i need to pass the radio button value to the 3rd page. by using post method i am getting it to the 2nd page. But i need to get it to the 3rd page also. so please can any one help me..
thank u..

Let's try. On page 1 you have a form with a radio button? And the value is going to page 2 after submit on page 1. So on page 2 you can get the value by doing:

$radiobutton = $_POST['button'];

. How do you go to page 3? If this is also done with a form all you have to do is include it in the form:

echo "<input type=\"hidden\" name=\"button\" value=\"".$ratdiobutton."\"/>";

and on page 3 you get it again with

$radiobutton = $_POST['button'];

.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.