Hi all <?php $link=mysql_connect('localhost','usrname','password'); if(!$link) echo "fail"; else echo "success"; mysql_close(); ?> Thank you __________________________________________________________________ Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger..yahoo.com/webmessengerpromo.php