Jim,
Are you using a port other than the default (3306)? If so you can specify
it by localhost:3306
Is the server really running?
> I ran the following PHP script:
>
> $die_msg = "Connection to Database Failed"
> $connect = mysql_connect("localhost","UserName","UserPW")
> or die("Connect Fail
On Fri, Aug 09, 2002 at 04:27:56PM -0500, Jim Bailey wrote:
> $die_msg = "Connection to Database Failed"
Where's the terminating ";" on that prior line?
> $connect = mysql_connect("localhost","UserName","UserPW")
> or die("Connect Failed" ):
You put a ":" rather than ";" on the prior line
I ran the following PHP script:
I received the following error message
Parse error: parse error, unexpected T_VARIABLE in
C:\FREEDEV\XITAMI\webpages\private\test.php on line 3
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo