Hi All
I was hoping that someone was able to help with this:
I am running a Redhat 7.3 WebServer using the default php-4.2.1 that is built with original installation. I also have installed the php-mysql module.
Unfortunatley, I am unable to connect to the DB through the actual site.
The interesting part is that I can connect and make changes to the Databse through phpMyAdmin. On the same server.
The Databse itself is not hosted on the local machine.
The Code I am using to connect is:
<?
$database = "youwescales";
$dbc = mysql_pconnect("10.1.1.8", "username", "password");
mysql_select_db($database, $dbc);
#mysql_query();
?>
The Error I am getting is:
Fatal error: Call to undefined function: mysql_pconnect() in /home/ftpusers/youwescales/html/demo/index.php on line 3
Can anyone help please!
Thanks
Ryan