I have problems with MySQL in my PHP code
$konek= mysql_connect('localhost','root',' ');
if ($konek)
so, I cannot connect it to my DB and the mysql_connect is lined in the code like this picture.
mysql_connect is deprecated
What's wrong with MySQL in my code? Thanks