Sara Daugherty wrote:
I am having trouble with creating a list box.
I am attaching the code.
I am not sure the code in the for loop close to the end of the program is correct.


If someone could take a look at it I would appreciate it.

Thanks,
Sara

I like to use foreach:


foreach($Classes as $ClassesKey => $ClassesValue) {
  echo "<option value='$ClassesKey'>$ClassesValue</option>";
}

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to