Salut à tous,
Nan, je te jure ke ca marche pô ca me mark exactement le même numéro!!!
tu pourrais m'écrire ton code entier stp!!!!!
le mien j'ai fai ca:
$Req ="SELECT * FROM pubs_88_31";
$Result = mysql_query($Req) or die('Erreur SQL !'.$Req.''.mysql_error());
$NbLignes = mysql_num_rows($Result);
srand (time());
$Num1=(rand()%$NbLignes);
$Num1++;
echo $Num1;
echo '<br>';
//Deuxième numéro
srand (time());
$Num2=(rand()%$NbLignes);
$Num2++;
echo $Num2;
echo '<br>';
ET CA MARCHE PAS J'AI PASSe MA JOURNEE DESSUS!!!!!!!
Merci d'avance