Okay so this is my problem now. I am using PHP 5.5.12 and MySQL 5.6.17. The php mysqli_connect is checked on my php settings but still getting error. ANy help? Thanks in adv
You should do :
$link = mysqli_connect ("localhost", "root", "", "towertec_master"); // without new
mysqli_connect is a function, not a class. What you want is either:
$link = mysqli_connect(...);
or
$link = new mysqli(...);
Both are equivalent.