hello.
is there some other way to vaporize an array, apart from the following?
unset($array);
unset($GLOBALS['array']);
$array = NULL;
Because none of these are working for me. The array in question is part of a DB query nested loop that must be overwritten so that I don't display duplicate entries.
while ($it_row = mysql_fetch_array($it_select_result))
{
unset($new_results);
--use MySQL results to query another DB, to return the $new_results array--
foreach ($new_results as $final_results)
{
echo "$final_results";
}
}
A typical result set might be:
item 1, value 1
item 2, value 1, 2
item 3, value 1,2,3
when it should be:
item 1, value 1
item 2, value 2
item 3, value 3
any help is GREATLY appreciated.
thanks folks. knelson.