Thread: looping
View Single Post
Old 06-16-2008, 07:03 AM   #2 (permalink)
SpYkE112
The Contributor
 
Join Date: May 2008
Location: Denmark
Posts: 70
Thanks: 3
SpYkE112 is on a distinguished road
Default

You don't use the right name for the options POST array....
PHP Code:
                if ($_POST[option])
                {
                    
// this loop definitely wont work.
                    
foreach($_POST['option'] as $key => $value
                    {
                        
$poll_option[$key] = $_POST['option'][$key];
                    }
                } 
You have used "option" instead of "options"... Don't know if thats the problem...
</span></span>
SpYkE112 is offline  
Reply With Quote