In fact im working in a small php script , I'm using simple html dom to get some tags for a website, any way this is the code that i'm using
if( strpos($a, '#') !== false )
{
if( strpos($a, 'page') !== false ){}
else
{
if( strpos($a, '#') !== false ){}
else{
$items[] = $a;
}
}
}
I want to delete duplicate string in the array $items
.