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@xxxxxxxxx> wrote: > mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); > if (!$success) > -- Stephen Johnson The Lone Coder stephen@xxxxxxxxxxxxxxxx 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