Re: Re: multiple choice dropdown box puzzle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob McConnell wrote:
> 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

And I'm sure you don't want: name="<?echo $categoriesIN?>.'[]'"

Maybe: name="categoriesIN[]"

-- 
Thanks!
-Shawn
http://www.spidean.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux