Excuse moi, j'ai un peu écrit à l'arrache hier.
Fais plutôt un truc comme ça :
$sql = "SELECT type.id_type, type.nom_type, articles.texte2
FROM type, articles
WHERE type.id-type = Xid_type AND id_type=15
or type.id_type=11 or type.id_type=16 or type.id_type=18";
1 fonction JS :
function afficherTexte2(truc) {
document.getElementById("texte").innerHTML = truc;
}
<form>
<select onchange="afficherTexte2(this.options[this.selectedIndex].value);">
<option value="">choississez</option>
if (false === $q = mysql_query($sql)) die("traitement de l'erreur");
while ($res = mysql_fetch_array($q, MYSQL_ASSOC) {
echo '<option value="'.$res['id_type'].'">'.$res['nom_type'].'</option>';
}
</select>
</form>
C'est encore loin d'être top, mais ça fonctionnera mieux

Kohntark -