$yes = 0;
foreach($responses as $response)
{
if($response == 'Yes')
{
$yes++;
}
}
echo $yes;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community