You are here: Re: Retrieving full entry from multiple select list « All PHP « IT news, forums, messages
Re: Retrieving full entry from multiple select list

Posted by Shelly on 10/10/66 11:17

"Ken Robinson" <kenrbnsn@rbnsn.com> wrote in message
news:1117495150.800178.47870@o13g2000cwo.googlegroups.com...
>
>
> Shelly wrote:
>> "Ken Robinson" <kenrbnsn@rbnsn.com> wrote in message
>> news:1117493471.919362.239190@f14g2000cwb.googlegroups.com...
>> >
>> >
>> > Shelly wrote:
>> >> If, however, the entries are:
>> >>
>> >> First one
>> >> Second one
>> >> Third one
>> >>
>> >> Then the values are for $picked[0] and $picked[1] are "First" and
>> >> "Third"
>> >> respecticely.
>> >> How do I retrieve the entire value and not just the first word?
>> >
>> > How are you determining what is in each entry?
>>
>> $picked = $_POST['numList'];
>>
>> > If you do a
>> > <?
>> > echo '<pre>';print_r($_POST);echo '</pre>';
>> > ?>
>> > after entering your processing script, what do you see?
>>
>> I see:
>> Array
>> (
>> [numList] => Array
>> (
>> [0] => First
>> [1] => Third )
>>
>> [filename] =>
>> [description] =>
>> [submit] => Delete Entries
>> )
>
> So what you see is what you got.
>
> Next question: what does your form look like?

The list show:

First one
Second one
Third one

Shelly

 

Navigation:

[Reply to this 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

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