This is so simple, yet I cannot get my head into the logic.
Have a simple online form. Want to be able to adjust a variable after submitting.
If anyone can shed light on this one, would be really super appreciative!
$chocolatebar = $HTTP_POST_VARS['chocolatebar'];
if $chocolatebar = "a" then we want to change the value to "snickers";
if $chocolatebar = "b" then we want to change the value to "mars";
if $chocolatebar = "c" then we want to change the value to "cherry ripe";
1 Answer