SyntaxFix
Write A Post
Hire A Developer
Questions
Try initializing your variables and use them in your connection object:
$username ="root"; $password = "password"; $host = "localhost"; $table = "shop"; $conn = new mysqli("$host", "$username", "$password", "$table");