Reply to Stupid Form Select Problem

Your name:

Reply:


Posted by No_One on 01/21/06 13:25

We never use html select for multiple choices, however, this time I have to
and I can't get the php coding to work...I can't get it to return multiple
values

<form action="something.php" method="POST">
<select name"test" MULTIPLE SIZE="5">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
<option value="4">four</option>
<option value="5">five</option>
<option value="6">six</option>
</select>

When something.php is called after select...i have;

echo $_POST['test'];

and only get one value, not an array, nor a string of value, just one single
value...

What am I doing wrong....

Any help appreciated...oh, I have check the html books and other sources,
I'm blind, stupid or both...I just can't see the problem.

ken

[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

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