|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-12 02:02 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 05:00:01 2025 UTC |
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); }