0

How to show common value in array in php

like $a=array (33,342,45,33) $b= array (33,107,45,453)

27th Feb 2019, 8:59 AM
sachin Kumar gautam from of mirgauti
sachin Kumar gautam from of mirgauti - avatar
1 Resposta
+ 3
$result = array_intersect($a, $b);
27th Feb 2019, 12:40 PM
Diego
Diego - avatar