note 14428 added to function.each.php

From: Date: Tue, 31 Jul 2001 09:52:41 +0000
Subject: note 14428 added to function.each.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16091@lists.php.net to get a copy of this message
<? $tab["var1"]="value1"; $tab["var2"]="value2"; while(list($key, $val) = each($tab)) { $nx_name = ''.$key.'_old'; $$nx_name=$val; } print $var1_old; print $var2_old; ?> http://www.php.net/manual/en/function.each.php

« previous php.notes (#16091) next »