Jai une requete
Code : Tout sélectionner
$req2=mysql_query("SELECT * FROM .$table. WHERE id='$r' ");Code : Tout sélectionner
if ($_GET['pro'] == "albums" ) {
$table = "albums_b";
}
if ($_GET['pro'] == "test" ) {
$table = "albums_c";
}Code : Tout sélectionner
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\documents and settings\fab\bureau\site\lib\photos.php on line 24merci