query($sql); $total=0; $page=""; while ($row = $result->fetch_assoc()){ $city=$row['city']; $city=ucfirst($city); $date=$row['date']; #get unix time $auteur=$row['auteur']; $date=date("j/m/y H:i",$date); #format unix time $title=$row['title']; $body=$row['body']; $body=stripslashes($body); $title=stripslashes($title); #$body = preg_replace('/[\r\n]+/s', '

', $body); # $body = preg_replace('/[\r]+/s', '

', $body); # $body = preg_replace('/[\n]+/s', '

', $body); } ?> <? echo $title; ?>

abp.bzh


$title\n"; echo "

"; echo ""; echo "$city $date par $auteur\n"; echo ""; ?>