I am getting this warning, but the program still runs correctly.
The MySQL code is showing me a message in PHP:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:xampphtdocstaskmedianewconnect.inc.php on line 2
connect.inc.php page is
<?php $connect = mysql_connect('localhost','root',''); mysql_select_db('dbname'); ?>
What does this mean and how can I eliminate the message?