You are here: Undefined function - mysql_connect() - php5? « PHP « IT news, forums, messages
Undefined function - mysql_connect() - php5?

Posted by Jacques on 02/17/05 07:29

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация