Jump to content

looping through dropdown list problem


helloise

Recommended Posts

how come the lines:

PHP Code:

                echo $form['catcher_id'];

                 

                  $catcher_names =  $form['catcher_id']                   

                  foreach($catcher_names as $val)

                  {

                      echo "testing loop";

                  }

produce nothing?? its not doing the foreach.

$form['catcher_id']; is a dropdown list containing catcher names

please help?

thanks

Link to comment
https://forums.phpfreaks.com/topic/223957-looping-through-dropdown-list-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.