Jump to content

connect php to mssql use dreamweaver


Ethan28

Recommended Posts

are you asking how to connect to mysql using php?
if so
[code]$dbhost = "localhost";
$dbuser = "username";
$dbpass = "password";
$dbname = "databasename";
mysql_pconnect($dbhost,$dbuser,$dbpass)or die (mysql_error());
mysql_select_db($dbname)or die(mysql_error());
[/code]

if thats not what your talking about please be more specific.
  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.