Hi Folks,
I was debating which forum this question relates to as it concerns Apache, PHP and MySQL
I have moved my site from the htdocs in Apache to a virtual server folder
But now the application is not connecting tothe database
The error i'm getting is
Fatal error: Call to undefined function mysql_connect() in C:\www\connectroot.php on line 12
I had removed the connection strings to a file called connectroot
line 12 - the undefined function is
$dbc=mysql_connect(DB_HOST, DB_User, DB_Password) or die('could not connect to MySQL:'.mysql_error());
Any ideas would be greatly appreciated,
Orla