You need to set the parameters to whatever your ISP granted you for use of
MySQL... 

$dbcnx = mysql_connect("servername","username","password");

You should ask your ISP what these are.


Justin French



on 29/09/02 9:54 PM, DC ([EMAIL PROTECTED]) wrote:

> Hi,
> 
> OK I have my first php/mysql web site complete & working on my computer
> using apache server. When I transfer the files to web space, I receive
> errors regarding connection to database. Obviously the various pieces of
> code I have used to connect it all up eg
> <?
> $dbcnx = mysql_connect("localhost","","");
> mysql_select_db("databaseName",$dbcnx);
> ?>
> 
> etc etc
> 
> needs to be changed to what to see the site working live ?
> 
> Any ideas or tips greatly appreciated!!!!!!!
> 
> Thanks
> 
> DC
> 
> 
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to