Hi, I'm just getting started with PHP and MySQL. I installed a package
the other day to control torrents from a website (Torrentflux) but I'm
getting an error when I try to start Torrentflux

Fatal error: Call to undefined function mysql_connect() in
C:\public_html\TF2\html\adodb\drivers\adodb-mysql.inc.php on line 338

Line 338 of that file is the one that starts with $this-> (the fifth one
down from here:

        // returns true or false
        function _connect($argHostname, $argUsername, $argPassword,
        $argDatabasename) {
                if (ADODB_PHPVER >= 0x4300)
(This line)                     $this->_connectionID =          
mysql_connect($argHostname,$argUsername,$argPassword,
                                                                                
                $this->forceNewConnect,$this->clientFlags);
                else if (ADODB_PHPVER >= 0x4200)
                        $this->_connectionID =
                        mysql_connect($argHostname,$argUsername,$argPassword,
                                                                                
                $this->forceNewConnect);
                else
                        $this->_connectionID =
                        mysql_connect($argHostname,$argUsername,$argPassword);
        
                if ($this->_connectionID === false) return false; if 
($argDatabasename)
                return $this->SelectDB($argDatabasename); return true;  
        }

 Can anyone help me with this?

 Thanks in advance,
 Mike




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to