i'm using php 5.2.17 and i'm getting an error on a the following code...
if (USE_PCONNECT == 'true') {
$$link = mysql_pconnect($server, $username, $password);
} else {
$$link = mysql_connect($server, $username, $password);
}
The error i'm getting is...
Fatal error: Call to undefined function mysql_connect() in C:\Domains\domain.com\wwwroot\catalogue2\includes\functions\database.php on line 19
I have recently migrated this site from an older server so I suspect its the version of php. Sadly i'm not that knowledgeable with php. Does anyone have any ideas?
Thanks