RE: [PHP] $_POST returns Array when getting data from multiple dropdown

From: Date: Thu, 01 Dec 2005 09:13:09 +0000
Subject: RE: [PHP] $_POST returns Array when getting data from multiple dropdown
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-226691@lists.php.net to get a copy of this message
On 12/1/05, Erfan Shirazi <eshirazi@shipco.com> wrote: > foreach($_POST as $key => $tempvalue) > { > $cVariable .= $key."=".$tempvalue."&"; > } > Is there anyway I can get the values chosen instead of just "Array"? check for that first using is_array() and then loop through it appending it to the string -ahmed

« previous php.general (#226691) next »