No... honestly... I mean this is REALLY dumb!
I have a form with a select that looks like this:
<select name='toasters'> <option value='1'>Toaster 1</option> <option value='2'>Toaster 2</option> <option value='3'>Toaster 3</option> <option value='4'>Toaster 4</option> </select>
In my php I read (or try to read) the value with:
$toaster = $_POST['toasters'];
No matter which toaster is selected, $toaster returns '0' as in $toaster = 0; when it absolutely should be returning 1-4.
At first I thought this might be happening because the select was not being changed so it was somehow defaulting to ZERO but on further testing and changing the select to which ever toaster I want $_POST still returns a big fat ZERO.
(and no, this is NOT a multi-select)
All other fields and values are being returned correctly... just not the select! The select is displaying properly on the page, it functions properly, I can view source and it has the values/options it is supposed to have etc.
What in the world am I doing wrong here?
Edited by ppetree: n/a