Is it possible to access MySQL server (shareware version 3.22.32 runs under Windows 95 with Winsock 2) from other server via php3 ?
I try to access to MySQL database "test" via PHP script that runs on other server and all the time I get the message: Parse error: parse error in /www/myserver/test.php3 on line 2
Here is above mentioned PHP script:
mysql_connect(IP address of PC with MySQL under Windows95,username,password);
@mysql_select_db(test) or die( "Unable to select database");
I have no problem to access database "test" via telnet from other server. PHP script runs on other server perfectly if I try to access local MySQL database on it:
@mysql_select_db(database name) or die( "Unable to select database");
Could somebody help?
Thank you for your assistance.