Reply to $_POST returns Array when getting data from multiple dropdown

Your name:

Reply:


Posted by Erfan Shirazi on 11/01/97 11:33

Hi all


I want to get all data passed on to a certain page, I use this to make
it happen:

foreach($_POST as $key => $tempvalue)
{
$cVariable .= $key."=".$tempvalue."&";
}

This works fine as long it is textfields etc...
I.e: $cVariable //Contains foobar=something&

But if it is multiple dropdown then it returns correct "key" but the
value will be "Array".
I.e: $cVariable //Contains foobar=Array&

Is there anyway I can get the values chosen instead of just "Array"?

Thx in advance

/Erfan

[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

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