Je debute en php jai peu de base et jai realisé un code pour affichées des données de ma base de données bien sur il ne fonctionne pas
pouvez vous maider a le resoudre
voici mon message derreur
Parse error: parse error, unexpected '&' in C:\Program Files\EasyPHP 2.0b1\www\testartiste.php on line 20
aussi mon code doit etre très mediocre dc si vous pouvez me donner des conseil
<html>
<head>
</head>
<body>
<table>
<tr>
<td align="center">
Sélectionner un nom d'artiste : <br>
<?php
mysql_connect("localhost","root","");
mysql_select_db(musiceo);
$sql= "SELECT id, nom_artiste FROM coverflow_artiste";
$rep= mysql_query($sql) or die (mysql_error());
while($ligne_liste=mysql_fetch_assoc($rep)){
echo '<option value="'.$ligne_liste['id'].'">'.$ligne_liste['nom_artiste'].'</option>';
}
?>
</select>
</td>
</tr>
<?php
mysql_connect("localhost","root","");
mysql_select_db(musiceo);
&req= "SELECT desciption_artiste, image_artiste from coverflow_artiste where id=.$ligne_liste['id'].'";
$rep= mysql_query($sql) or die (mysql_error());
while ($ligne_liste=mysql_fetch_asscoc($rep)){
echo'<table>
<tr>Nom<td>Description</td><td>Photos</td>
<tr>.$ligne_liste['nom_artiste'].<td>.$ligne_liste['description_artiste'].</td><td>.$ligne_liste['image_artiste'].</td></tr>';
?>
</table>
</body>
</html>