ID: 31063 Updated by: [EMAIL PROTECTED] Reported By: belpoub at yahoo dot ca -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: win XP PHP Version: 5CVS-2004-12-12 (dev) New Comment:
MySQL support is not enabled, try to load php_mysql.dll in your php.ini and check the output of phpinfo(); Previous Comments: ------------------------------------------------------------------------ [2004-12-12 01:28:46] belpoub at yahoo dot ca Description: ------------ Macromedia Dreamweaver 6 and 7 and 7.1 cannot connect to mysql due to a php 5 error. Going back to php4 solve the problem. ** Here line from error log in the Apache server: [Sat Dec 11 18:16:57 2004] [error] PHP Fatal error: Call to undefined function mysql_connect() in c:\\program files\\apache group\\Apache\\htdocs\\php-test\\_mmserverscripts\\mysql.php on line 49 ** here the code from the php page dramweaver creates to connect to the database: function Open() { if ($this->connectionId = mysql_connect($this->hostname, $this->username, $this->password)) { $this->isOpen = ($this->database == "") ? true : mysql_select_db($this->database, $this->connectionId); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31063&edit=1