ive used extract in the past to convert the $_POST[''] into variables of the same name and i was wondering whether it works for arrays too.
so lets say i use a db query, normally id do this:
while ($row = mysql_fetch_array($result)) {
$1 = $row['1'];
$2 = $row['2'];
echo $1.'-'.$2;
}
could i use extract($row) to convert $row['1'] into $1 ??
thanks in advance