Let's get directly to this weird confusing problem, WHAT IS WRONG WITH THIS LINE OF CODE:
<?php
global $con = mysqli_connect("localhost","root","","myshop");
?>
The error I get from loading this is this:
Parse error: syntax error, unexpected '=', expecting ',' or ';'