I generated a variable by means of a select statement in a form.
In the action script, I captured the variable in
<label for="outcome">How do you want to move the needle?</label>
<select class="medium" name="outcome" size="1" id="outcome">
<option value="revenue" selected="selected">Increased revenue</option>
<option value="cost">Reduce costs</option>
<option value="customer">Customer satisfaction</option>
<option value="other">Other – Details below</option>
Now I want to display various information depending on the value of 'outcome'. I have tried
$outcome = $_POST['outcome'];
which doesn't work. What am I missing?
<p>Information about revenue.</p>