> I am using this function enhanced_list_box. This works
> fine. Except the return value is None. How is it possible for it to
> return a proper value. It reads a list from a data base.
while $row is valid you do stuff.
then when $row is invalid, you return it.
But maybe you knew that.
To return a "proper value"?:
while($row...[is something valid]){
$lastValidRow = $row;
...
}
$row is invalid
do something with
$lastValidRow i.e.: return it
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php