if (($formation == "")||($formation == "%"))
{
}
else { $query = "SELECT id,descriptif,groupe,formation,jours,objectifs, nouveau FROM formations WHERE formation LIKE \"%$formation%\" OR groupe LIKE \"%$formation%\" OR descriptif LIKE \"%$formation%\" OR jours LIKE \"%$formation%\" ORDER by descriptif ASC";
$result = mysql_query($query);
}
while($row = mysql_fetch_row($result))
{ ....
cette partie de programme me pose probleme.
sur un site hébergé chez 1and1 il fonctionne (php version 4.4.9)
sur un nouveau site hébergé toujours chez 1and1 (php version 5.2.17) il me donne comme message :
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /homepages/25/d384808248/htdocs/resultatsformations.php on line
merci pour vos réponses
denis