Thats perfect. I didn't even know about this. Stut wrote: > > > $$key = $value; > > They're called variable variables - search the manual for that term > for more info. > > -Stut > > -- > http://stut.net/ > > -- View this message in context: http://www.nabble.com/foreach-loop-to-set-variables-tp16895552p16898164.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php