After I replaced my project on my new pc it says
mysqli_fetch_array()expects parameter 1 to be mysqli_result boolean given in
This is the code
<?php include('cpanel/databaseconnection.php');?>
<div class="container-fiulde">
<header class="header-login-signup">
<div class="header-limiter">
<h1><a href="index.php">Afg<span>Bano</span></a></h1>
<nav>
<ul>
<?php
$qpage = "select id,name from category";
$page_query = mysqli_query($databaseconnection,$qpage);
while ($tittle = mysqli_fetch_array($page_query))
{?>
<li class="select"> <a href="<?php echo
"show.php?id=".$tittle['id'] ?>">
<?php echo $tittle ['name'];?></a></li>
<?php }
?>
</nav>
<ul>
<li><a href="admin/login.php">Login</a></li>
</ul>
</ul>
</div>
</header>
</div>
</div>