Type de champ categorie: text
Le code:
$sql = "SELECT * FROM download WHERE valide=1 AND categorie='". $_GET['cat'] ."' ORDER BY id ";
echo($sql);
$retour = mysql_query($sql);
while ($donnees = mysql_fetch_array($retour))
Affichage du echo($sql) : Code : Tout sélectionner
SELECT * FROM download WHERE valide=1 AND categorie='ps2' ORDER BY id