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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.