Ver original$buscarafil=json_decode($_POST['jafil']);$novacios=array(); foreach($buscarafil as $key => $i) { if($i!=NULL){ $novacios[$key] = $i; }}