Ethan28 Posted November 10, 2006 Share Posted November 10, 2006 Hello everybody. I have a question about How to connect php to mssql and mysql use dreamweaver mx2004!thank You Link to comment https://forums.phpfreaks.com/topic/26778-connect-php-to-mssql-use-dreamweaver/ Share on other sites More sharing options...
reaper7861 Posted November 10, 2006 Share Posted November 10, 2006 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. Link to comment https://forums.phpfreaks.com/topic/26778-connect-php-to-mssql-use-dreamweaver/#findComment-122454 Share on other sites More sharing options...
sws Posted November 10, 2006 Share Posted November 10, 2006 Sounds to me like you are trying to create a site in dreamweaver ?Create a new site and enter in all of your database information and it should work. Make sure you use the correct directories when setting it up or it wont work. Link to comment https://forums.phpfreaks.com/topic/26778-connect-php-to-mssql-use-dreamweaver/#findComment-122456 Share on other sites More sharing options...
oberwil Posted December 5, 2006 Share Posted December 5, 2006 just search for me. I posted a outlined guide. Link to comment https://forums.phpfreaks.com/topic/26778-connect-php-to-mssql-use-dreamweaver/#findComment-135615 Share on other sites More sharing options...
masgas Posted December 5, 2006 Share Posted December 5, 2006 I use dreamweaver MX 2004 and it works great with apache and mysql...I go to the menu: site - manage sites - new site - and in the "local root folder" I have "C:\xampp\htdocs\" cause I'm working with xampp...this makes it work just fine with me... Link to comment https://forums.phpfreaks.com/topic/26778-connect-php-to-mssql-use-dreamweaver/#findComment-135630 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.