Yes, you need to remove the first assignment of $row, i.e.
<?php
$db = new mysqli('localhost','root','','eurodib');
$query = "select distinct cat_name from categorie";
echo '<br>Categories:<br/>';
while($row = $result -> fetch_assoc())
{
echo $row['cat_name'] ."<br>";
}
?>
Don't forget to mark the thread as resolved