Re: New way to make select boxes auto select
| From: | Nathan Cook | Date: | Thu, 25 Jul 2002 18:52:16 +0000 |
| Subject: | Re: New way to make select boxes auto select | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109568@lists.php.net to get a copy of this message | ||
From: "Johnson, Kirk" <kjohnson@zootweb.com>
> Do you know what happens here if the error reporting is set to max?
> Are a bunch of "unitialized variables" warnings issued?
That would be my assumption. I suppose you could initialize the variables
first to circumvent that. I was more or less looking for a quick and dirty
way to accomplish the task.
However, it looks like some good functions have been submitted to the list
which would solve the error reporting. Something along the lines of
building an array and then calling a function to loop through the array
pieces and build a select menu.
In my case, I wasn't looking to create another function, just a quick
statement.