Hi,
I have some dynamically generated arrays
$resultfull = $db2->fetchAll();
${'unique_tags'.$unique_tags0_key}=Array();
foreach ($resultfull as $values2)
{
list($tagname,$id)=$values2;
array_push(${'unique_tags'.$unique_tags0_key}, $id);
}
$unique_tags0_key=$unique_tags0_key+1;
}
and i want to intersect them.
I want to use string as arguments in php array intersect function
$result00=array_intersect($unique_tags0, $unique_tags1);
i want to replace the above with something like
$one="$unique_tags0, $unique_tags1, $unique_tags2 .....";
$result00=array_intersect($one);
$one is string but dynamically has the names of existing arrays.
The number of the arrays i want to intersect is not known, so i want to use dynamically generated string as argument, if this is possible.
5$ should be ok for helping me on this.
I m waiting for replies
PS, Please bid if you have done it before.