i am getting an error during a php execution which i think it was due to a newer php 5.5 thing.
mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /public_html/mydomain.com/connx.php on line 7
Apr 3, 2014
The inner code looks this way
So i thought changing the
mysqli could solve the issue :
$conn = mysqli_pconnect($hostname_conn, $username_conn, $password_conn) or trigger_error("Server Down");
And instead, I'm getting this error... so i guess it was not the correct way of doing so :)
Fatal error: Call to undefined function
anyhow i can fix this issue ? The code was built long time ago and now i cant really get in touch with him :x
thanks ** UPDATED ** I changed the mysqli_connect and when i load the php script... it shows few errors now... just wondering do i have to change these syntax too ?
mysql_select_db($database_conn); mysql_query("SET NAMES UTF8");