mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Quick Workaround is:
put @ before mysql_connect to remove the warning
@mysql_connect('localhost','root','');
but as the warning is telling you, use mysqli or PDO since the mysql extension will be removed in the future.











