Nevermind, I just actually looked at your code.
You called your db connection $db but are called $con in your mysqli_query
$con = mysqli_connect("localhost", "dbuser", "dbpass");
mysqli_select_db("dbname",$con);
You also need to establish the db connection on the viewmore.php file
|