RE: [PHP] Re: multiple choice dropdown box puzzle
| From: | Bob McConnell | Date: | Mon, 23 Feb 2009 18:26:47 +0000 |
| Subject: | RE: [PHP] Re: multiple choice dropdown box puzzle | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288695@lists.php.net to get a copy of this message | ||
From: PJ
>
> Here's my test page and, so far, nothing works...
Please expound on "nothing works...". What do you see in the browser?
What do you see in the server logs?
> <?
I strongly recommend changing all of these to <?php per the XHTML specs.
That will reduce the ambiguity and possibly prevent errors like the next
one.
> <select name="<?echo $categoriesIN?>.'[]'"
> multiple="multiple"
size="5">
You at least need a space between <? and echo, otherwise the server is
trying to parse "<?echo" as a single token, and that is probably
undefined.
Bob McConnell