Posted by andy.z on 04/02/07 12:03
In article <5xCPh.114167$Ko5.33194@newsfe08.phx>, tsobota@cox.net says...
> I will try this worded different...
>
> HTML page 1: I have two radio buttons...
> <?php session_start(); ?>
> <input type="radio" name="image_choice" value="lp13-web-wild165c"
> style="width: 35px;"/>LP-13<br />
> <input type="radio" name="image_choice" value="lp14-web-wild289c"
> style="width: 35px;"/>LP-14<br />
>
> HTML page 2: Problem...on html page 2, how would I show which button was
> pressed?
>
> Would it be....
> <?php session_start();
> echo $_SESSION['image_choice'];
> ?>
If your form method is POST
use
> echo $_POST['image_choice'];
If your form method is GET
use
> echo $_GET['image_choice'];
Sessions aren't really relevant to your problem.
Andy
Navigation:
[Reply to this message]
|