J'ai fait un nouveau script celui-ci, mais j'ai toujours la meme chose la liste s'affiche maiscelle-ci est vide.
Voici mon code :
<select name="intitule" size="1" style="font-family:Arial; font-size:11px">
<?php
$res = mysql_query ("SELECT IntitulePoste FROM bourse_emploi");
mysql_close();
while ($row = mysql_fetch_array ($res)){
?>
<option value='<?php echo $row["IntitulePoste"]; ?>'><?php echo $row["IntitulePoste"]; ?></option>
<?php
}// end while
?>
</select>
<?php
include_once("connect_server.inc");
$connexion=mysql_connect($hote, $user, $mdp) or die("Connexion au serveur impossible:".mysql_error());
mysql_select_db($database, $connexion) or die
?>
Voilà le champs de ma base avec les valeurs quel contient , je veux en fait que ma liste affiche le valeurs d'IntitulePoste c'est à dire a , b ,c , d ,e , fIntitulePoste
a
b
c
d
e
f
Pouvez vous m'aider?Ma requête est-elle foireuse?Mon code est-il foireux?
Merci pour votre aide.