Im working on a website that uses alot of database echoing. But the problem is i have used some code that always worked for me before and this time it isnt working at all.
The Code:
<?php
$result=mysqli_query($mysqli, "SELECT * FROM action ORDER BY gameid ASC");
while($row = mysqli_fetch_array($result)){
echo $row['gamename'];
}
?>
It might be a really silly question but i am not seing any errors.
Greetings, Trojan(Michael)
try maybe it helps
$result=mysqli_query($mysqli, "SELECT * FROM action ORDER BY gameid ASC");
$row = mysqli_fetch_array($result)
echo $row['gamename'];