I'm working on a website that uses a lot of database echoing. But the problem is I have used some code that always worked for me before and this time it isn't 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'];
}
?>
I am not seing any errors.