Je suis en train d'adapter un de mes acien script avec des pages :
J'ai l'erreur suivante mais je ne sais pas pourquoi :
voici la partie de code concernée :Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/journaweb/articles.php on line 214
$reponse = mysql_query("SELECT * FROM articles WHERE cath regexp '".$cath."' and titre regexp '".$rech."' and confirme='oui' ORDER BY ID DESC LIMIT '". $premierMessageAafficher ."', '". $nombreDeMessagesParPage."'");
while ($donnees = mysql_fetch_array($reponse)) // ligne 214
{?>
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
<td colspan="2"><font color="#0066CC">.............................................................................................................................</font></td>
</tr>
<tr>
<td colspan="2"><a href="voirearticle.php?ID=<? echo $donnees['ID']; ?>"><? echo $donnees['titre']; ?></a></td>
</tr>
<tr>
<td>Ecrit par <? echo $donnees['nom'];?> <? echo $donnees['prenom'];?></td>
<td>
<div align="right">Le <?php echo date('d/m/Y \à H\hi', $donnees['timestamp']); ?></div>
</td>
</tr>
</table>
<?}
mysql_close();
?>