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" <[EMAIL PROTECTED]> wrote: > mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); > if (!$success) > -- Stephen Johnson The Lone Coder [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php