Simple PHP help needed
<p>This is so simple, yet I cannot get my head into the logic.</p>

<p>Have a simple online form. Want to be able to adjust a variable after submitting. </p>

<p>If anyone can shed light on this one, would be really super appreciative!</p>

<pre><code>$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"; 
</code></pre>
