query('SELECT * FROM my_msg order by no desc limit 15');
$j = 0;
while($row = $stmt->fetch(PDO::FETCH_ASSOC)){
$no =$row['no'];
$name = $row['name'];
$msg= htmlspecialchars_decode($row['msg']);
$date = substr($row['time'], 0, 10);
// echo "$no $name $msg";
?>
$j++; } //while
?>
No : = $no?>) Name : =$name?> =$date?>
= $msg?>