PHP and mysql

wxdqz

New Member
I am running PHP 3.0.2 under Appache in Windows NT as "localhost" in same time i am running MySQL
In one of my scripts I run sample which I took from the manual:

$link = mysql_connect()
or Die("Not connected");
print("Connected successfully");
mysql_close($link);

When I access this script I get an error:

Fatal error: Call to unsupported or undefined function mysql_connect() in e:\apache\htdocs/xTest/top_decisions.php on line 2

What is wrong here?

Peter
 
Back
Top