Ver originalwhile($items = mysql_fetch_array($rs)){ $name = $items['nom_paciente']; $id = $items['paciente_id']; echo "$name|$id\n";}