le 17/05/2010 à 19:32
slyckers
Snifff m'en sort pas...
Merci
<?php <?php
include ("configs.php");
$sql = mysql_query("SELECT * FROM film ORDER BY id DESC LIMIT 0,5") or die('erreur : '.mysql_error());
while ($data = mysql_fetch_assoc($sql)) {
if (!empty($data['cover'])) {
echo "» Le ".$data['dateajout'].", <strong>".$data['login']."</strong> a demandé le film : <strong>".$data['genre']."</strong> [ lien Mu :".$data['cover']." ] | (Demande ".$data['format'].")</sup><br />";
} else {
echo "Pas de demande en cours";
}
}
?>
php ?>
Merci