MySQL Forums
Forum List  »  General

Re: php version problem
Posted by: ahmed tayeb
Date: February 18, 2005 04:34AM

the error has gone but the error message that i definde in the script is showing !!

Error: Could not connect to database. Please try again later

<? 
///your site user name and pass 
$user="xxxx"; 
$pass="xxxx";$host="localhost"; 
$dba = mysql_connect($host, $user ,$pass); 
if (!$dba) 
{ 
echo "Error: Could not connect to database. Please try again later."; 
exit; 
};

Options: ReplyQuote


Subject
Written By
Posted
February 12, 2005 07:09AM
February 12, 2005 10:17AM
February 12, 2005 10:32AM
February 12, 2005 02:26PM
February 13, 2005 05:45AM
February 13, 2005 06:02AM
February 14, 2005 11:43AM
February 14, 2005 04:10PM
February 15, 2005 10:25AM
February 15, 2005 12:35PM
February 16, 2005 09:01AM
February 17, 2005 03:29AM
Re: php version problem
February 18, 2005 04:34AM
February 18, 2005 03:43PM
February 19, 2005 05:58AM
February 19, 2005 06:29AM
February 19, 2005 10:37AM
February 19, 2005 12:06PM
February 20, 2005 02:42AM
February 20, 2005 03:02AM
February 20, 2005 08:39AM
February 21, 2005 05:13AM
February 21, 2005 10:45AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.