I am trying to check for values in array and if value found increment it. I've tried to do it as shown in code below, but not successful.
$productdas=array("DAS","DayEnd","DAAS");
if (strpos(serialize($row['pirority']),"P1")!==false &&
strpos(serialize($row['product']),'$productdas')!==false)
{
$dasp1++;
}
I'll be grateful for any help.
Regards.
$row['pirority']contain and what is the expected result?serialize()?