I have just uploaded my website to meebox (webhotel), where I have a mysql database through phpmyadmin. The database connection file is working. There is a connection but I get NO data from the database which I have stored.
Here is my php script, where I want to get some data.
The script worked on my localhost server. But I just can't find the error. Is the script too old?
<?php
$q = "SELECT * FROM journals ORDER BY timestamp DESC";
$r = mysqli_query($dbc, $q);
while($journal_list = mysqli_fetch_assoc($r)) { ?>
<div class="col-md-6 journal-list">
<a href="journalview.php?id=<?php echo $journal_list['id']; ?>">
<img class="journal-list-img" src="<?php echo $journal_list['image']; ´?>">
</a>
</div>
<?php } ?>