Erreur affiché mysql_fetch_array()
bjr,
j'ai un ptit problem sur ce code si qq'1 peut m'aider:(
Code:
1 2 3 4 5 6 7 8 9
| $requete="SELECT * FROM jos_hp_prop_types WHERE (`jos_hp_prop_types`.`name` = $types)";
$retour_requete = mysql_query($requete);
while($data = mysql_fetch_array($retour_requete))
{
// on affiche les informations de l'enregistrement en cours
echo $data['nom'].' '.$data['desc']."<br>";
}
die("Stop"); |
et l'erreur est
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\program files\easyphp1-8\www\components\com_hotproperty\hotproperty.html.php on line 114
En fait je veux afficher dans cette table tous ce qui correspond à ce critère mais:(
Si qq'1 peut m'aider !!!