D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] PHP Scripts Continued



It seems reasonable to assume that on Thursday 28 August 2003 06:25, 
Richard Brown wrote:

> Here is the script:-
> <html>
> <body>
>
> <?php
> $db=mysql_connect("localhost","root");


$dbcnx = @mysql_connect("host", "username", "password");
if (!$dbcnx) {
echo( "<p>Unable to connect to the " . "database server at this time.</p>" 
);
exit();
}


-- 
From the Linux desktops of Dr Adrian Midgley 
http://www.defoam.net/             

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly