my code is not working is there any error?????????? ? i want whenever pid repeats it will escape that record help........... ...........
Code:
while($row = mssql_fetch_array($result))
{
$pidarray=array();
$pidarray[j]=$row["pid"];
echo $pidarray[j];
$ctr=0;
$p=$j;
while($p!=0)
{
if($row["pid"]==$pidarray[p])
{
$ctr=1;
break;
}
$p--;
}
if($ctr==1)
continue;
Comment