Posts by Erich Sanches • 1 point
2 posts
-
0
votes1
answer49
viewsA: Bring all results out of the foreach
The obstacle was healed with the implode as in the example below: foreach ($_POST['filtroOpt'] as $key=> $value){ $filtro[] = "AND ".$value." LIKE '%".$_POST['term'][$key]."%' "; //echo $filtro;…
-
-1
votes1
answer49
viewsQ: Bring all results out of the foreach
I’m not managing to bring all the results out of the foreach. Follow the code: foreach ($_POST['filtroOpt'] as $key=> $value){ $filtro = "AND ".$value." LIKE '%".$_POST['term'][$key]."%' "; echo…