I am getting a syntax error,
unexpected '$db' (T_VARIABLE) in /home/u606328786/public_html/qoute/php/connect.php on line 10
Here is the code:
<?php
// Make a MySQL Connection
$host="";
$user="";
$password="";
$db = "";
$link = mysqli_connect($host, $user, $password)
$db = new PDO('mysql:host=mysql.nazuka.net;dbname=;charset=utf8';dbsuser=;dbpass=);
Based on my research the mysql_* functions no longer works and suggest trying the mysqli_* or PDO function. I used the PDO function, but I am still getting the syntax error.