I am writing some php script in the cpanel. When I access the website folder (e.g. www.bbbbbb.com/folder/) It give the warning like that.
Warning: mysqli::mysq
check your connection string or may be you need to try with port
$connection = new mysqli("host", "user", "pwd", "db", "3306");
no need to change port 3306 is default why you use die("Error : ".mysql_error()); use mysqli
die("Error : ".mysql_error());