I want to know how to order data values using mysqli_fetch_array?
<?php
$query_noticias="SELECT post.* FROM post WHERE state ='1' ORDER BY id DESC LIMIT 2";
$resultadonoticias=mysqli_query($link, $query_noticias);
while($array=mysqli_fetch_array($resultadonoticias)){
echo $array['title'];
echo "<p>".$array['title']."</p>";
}
?>
echo "Tello j� rescindiu e vai para a Fiorentina Tello j� rescindiu e vai para a Fiorentina"
Can you help me?
I think can be array['title']['$x'] but dont know.
Aucun commentaire:
Enregistrer un commentaire