Re: My FIRST php atempt

From: Date: Fri, 18 Feb 2005 17:24:25 +0000
Subject: Re: My FIRST php atempt
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-209046@lists.php.net to get a copy of this message
David Freedman wrote: > I am trying my FIRST php file with an attempt to connect > to my mySql server. > > <?php > // Connecting, selecting database > $link = mysql_connect('localhost', 'host', 'my_passqword') > or die('Could not connect: ' . mysql_error()); Does this print out anything? Is it more than just 'Could not connect: '? What does it say? -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#209046) next »