To sreolve the deprecation message you can prefix the mysql_connect with @:
eg:
<?php
$connect = @mysql_connect('localhost','root','');
mysql_select_db('dbname');
?>
eg:
<?php
$connect = @mysql_connect('localhost','root','');
mysql_select_db('dbname');
?>
No comments:
Post a Comment