- Original Poster
- #1
Hi Guys,
I have created / am creating an order form in Php, I have not tested the output yet, but, as i'm a novice programmer, I would like some heads up on as how to make the following snippet of my code 'Hidden'.
I have other form input data that i'm quite confident will be 'Hidden' on the output page ...if you get my drift!
I have created / am creating an order form in Php, I have not tested the output yet, but, as i'm a novice programmer, I would like some heads up on as how to make the following snippet of my code 'Hidden'.
I have other form input data that i'm quite confident will be 'Hidden' on the output page ...if you get my drift!
PHP:
if($_POST['choosevar'] == length ) {
$myvar = $_POST['INPUT'];
}
if($_POST['choosevar'] == height ) {
$myvar = $_POST['INPUT'];
}
if($_POST['choosevar'] == width ) {
$myvar = $_POST['INPUT'];
}
if($_POST['choosevar'] == weight ) {
$myvar = $_POST['INPUT'];
}
How would I go about making the above 'Hidden' output (the resulting data from this page: length, height, width, weight, then goes on to another page, for example Thank You page.
I do hope you know what I mean, any help greatly appreciated.