If there is an array
name[]=some values
and i want to match how many times same name occurs then
for($q=0;$q<count($name);$q++)
{
echo $name[$q];
echo $name[q+1];
//it prints values upto here
if(strcasecmp($name[$q],$name[$q+1])==0)
{
$repeat++;
}
echo $repeat;
}
but does'nt work in if loop pretty strange is'nt it why??
Plz help me out.
thanks