Re: Fw: Help me with this someone

From: Date: Mon, 09 Feb 2009 21:46:57 +0000
Subject: Re: Fw: Help me with this someone
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-45931@lists.php.net to get a copy of this message
Warning: mysql_pconnect() [function.mysql-pconnect]: Lost connection to MySQL server during query in /home/www/broadwaysecure.biz.nf/Index.php on line 9 Could not connect : Lost connection to MySQL server during query
What's line 9? You haven't sent 9 lines of code. Also I suggest changing your mysql password, you've just broadcast it to the world. The mailing list is automatically archived in several places which all search engines have access to.
$broadway = mysql_pconnect("82.197.130.17", "218708_accounts", "sanity", false, 2) or die("Could not connect : " . mysql_error());
This is the wrong syntax for pconnect. RTFM: http://au.php.net/mysql_pconnect mysql_pconnect ([ string $server=ini_get("mysql.default_host") [, string $username=ini_get("mysql.default_user") [, string $password=ini_get("mysql.default_password") [, int $client_flags ]]]] ) Get rid of the "FALSE" argument. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.db (#45931) next »