Hi, i have a condition display depending on specific values. The show/hide bit if fine, just when i have $total > 250, i still get “standard” set to session and added to the DB (flicking between standard and express is fine)
I can’t see anything obvious but what i’d do is change
to
$_SESSION['divprice'] = $_POST['selector'];
as that gets rid of one line that isn’t needed as you are just converting one variable to another to another.
Then instead of header('location… sending them off somewhere comment that out for now and instead echo the variable $_SESSION[‘divprice’] to the screen to see what it is actually storing. You can then try things like instead of the 2 radio fields put in a normal text field and test to see where that is giving you the output you expect. You can then narrow down where the error is occurring
hum, ive echoed the sessions and the two radios are fine…with the >250 part its empty
Ive done a straight echo after the php script/radio buttons, just ‘<?php echo $selector ?>’, and its blank…so for some reason its not creating the value…