<? foreach($cant as $indice => $valor){ if ($cant[$indice]!=""){ $varMail .= $cod[$indice]." = ".$cant[$indice]."<br>\n"; }} ?>