Undefined function - mysql_connect() - php5?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have installed PHP5 on IIS. When I try to make a connection the the MySQL 
database with the following code:

$conn = mysql_connect("localhost", "root", "") or die("Unable to connect");

I get the following error in the browser:

Undefined function my_sqlconnect().

What can be the problem?

I uninstalled PHP5 and installed PHP4 and then I can make a connection 
without any problems...

Please shed some light anyone!!

Jacques 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux