Reply to Re: Book example doesn't work here

Your name:

Reply:


Posted by Andy Hassall on 09/07/06 18:26

On 7 Sep 2006 10:54:16 -0700, "Charles" <landemaine@gmail.com> wrote:

>I am trying the example of the book "Learning PHP5", here's an example
>that doesn't work here. It's a simple array sent from a form, and I
>want to display values sent, but if I select several meals from the
>form, only the last one is displayed:
>
><form method="POST" action="eat.php">
>
><select name="lunch[ ]" multiple>

There should be no spaces between the [ and ], else you end up with a single
key consisting of that many spaces, instead of an array of values.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация