Where am i going wrong??
Posted 20 February 2003 - 07:31 PM
I have installed apache and sql server, when i use an sql command from the php script i get an error
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/sqltest/sql.php on line 5
line five reads
$link = mysql_connect( \"localhost\", $user, $pass);
I am using RH8 and have installed all parts from the cd for apache and sql but it still seems as though mysql_connect is an undefined function,
what have i missed out??
Posted 21 February 2003 - 12:08 AM
it seems long winded for somthing that should really be there as standard?
Posted 16 October 2003 - 09:12 PM
I installed red hat 8 and the sql and php from the package manager. What i needed to do to get them talking was install the phpsql bit but had to boot from the cd and perform an upgrade, then find the module in the detailed software list and install that. Then it worked perfect.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users