Actualité médicale-Information-Prévention | ||||
| "; $resultat = mysql_query("select * from feed"); $nombre2 = mysql_num_rows($resultat); $succ = mysql_data_seek($resultat,$nombre2-1); $idnew2 ="$nombre2" -6; $requete2 = "SELECT * FROM feed LIMIT $idnew2 , 6"; //$requete2="select * from articles where ID >='$idnew2' "; $jokes = mysql_query($requete2); /* $requete="select max(ID) from feed"; $result1 = mysql_query($requete); if ($result1){ //echo "$result1"; $idmax=mysql_result($result1,0,"max(ID)"); //echo " Maxi $idmax"; $idnew="$idmax" -15; } echo(" Les Brèves "); $requete2="select * from feed where ID >='$idnew' "; $jokes = mysql_query($requete2); */ //$jokes = mysql_query(select * from artbrnew where ID > "$idnew"); while ($joke = mysql_fetch_array($jokes)) { $titre = $joke["titre"]; $id = $joke["ID"]; $dtt = $joke["date"]; $dte = $joke["date"]; $year1=substr($dte,0,4); $mois1=substr($dte,5,2); $jour1=substr($dte,8,2); $jokedt = "$jour1-$mois1-$year1"; $dtit = $joke["tit"]; echo ("$jokedt - $titre '); echo' |
Contenant le Texte: