i have tried every method i could find. But nothing would fix this problem. Here is the code
<?php
$sql = "SELECT item_name, item_img, item_price FROM item";
$result = mysql_query($sql) or die (mysql_error());
?>
<ul>
<?php
while($row = mysqli_fetch_array($result));
{
echo '<li>', $row['item_name'], '</li>';
echo '<li>', $row['item_img'], '</li>';
echo '<li>', $row['item_price'], '</li>';
?>
</ul>