Im getting frustrated over my own stupidity. I don't seem to understand anything anymore.
Im trying to break it down to simple parts now.
Below is a very basic connection wich is supposed to print out atleast the keys of the table, but it doesnt print out anything at all, and I dont understand why ???
Note that the table is empty now, but shouldnt I be able to list out the keys/titles of the table anyway ?
<?php
echo "<a href=./>Home</a><br>";
$conn = mysqli_connect("localhost", "user", "pass", "db");
$query = mysqli_query($conn, "SELECT * FROM pdb");
$fetch = mysqli_fetch_assoc($query);
print_r($fetch);
?>