Re: cannot connect to MySQL server and not sure why
| From: | Stephen Johnson | Date: | Thu, 14 Jul 2005 15:33:39 +0000 |
| Subject: | Re: cannot connect to MySQL server and not sure why | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218692@lists.php.net to get a copy of this message | ||
Where do you populate $success ?
It looks too me that $success would always be empty no matter whether you
connected or not.
On 7/14/05 8:27 AM, "Bruce Gilbert" <webguync@gmail.com> wrote:
> mysql_pconnect ($mysql_host, $mysql_user, $mysql_password);
> if (!$success)
>
--
Stephen Johnson
The Lone Coder
stephen@thelonecoder.com
http://www.thelonecoder.com
*Continuing the struggle against bad code*
--