Getting values ?

From: Date: Sat, 26 Apr 2003 18:56:40 +0000
Subject: Getting values ?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9390@lists.php.net to get a copy of this message
Hi, i am dynmaically getting the values posted from a form withe the following loop: $fields = array('name', 'street', 'plz', 'city'); foreach($fields as $val) { $$val = $_POST[$val]; $part1 .=" $val , " } the wanted output is for $part (working fine): $_post[name] , $_post[street] and so on now i like to get a parsing of the Post in a new variable $part2 $part2=" 'myers', 'lombardstreet', '45435', 'New York'" Isn't this possible?

« previous php.smarty.general (#9390) next »