I have a page with checkboxes which if checked would pass the variable = 1 to another page.
If they checked any of the boxes I'd like to create an if statement which would echo some info back to them!
Sample:
page1.php
<input type="checkbox" name="junk_1" value="1">
<input type="checkbox" name="junk_2" value="1">
<input type="checkbox" name="junk_3" value="1">
<input type="checkbox" name="junk_4" value="1">
<input type="checkbox" name="junk_5" value="1">
They check junk_1 this gets passed to the next page.
Page2.php
<INPUT TYPE="hidden" name="junk_1" Value="1">
page3.php
create this statement only if the box was checked!!!
if ($junk_1 == "1") print ("You have chosen junk 1");
Any help is appreciated!
Forgive me for I am a Newbie!