Need help connecting PHP to MS SQL in DataAssist
We have read through the help area, and could only find PHP connecting to MySQL. Any help would be appreicated. Thanks
We have read through the help area, and could only find PHP connecting to MySQL. Any help would be appreicated. Thanks
1. Do you have a server with MySQL and PhpMyAdmin?
2. Do you have a Database created in MySQL?
3. Do you have a Username & Password created in MySQL?
4. Have you given #3 full access to #2?
Assuming that lines 1-4 are correct...
5. Have you created a Table in your database?
Assuming that line 5 is yes...
6. Have you created any fields for this table?
So if all of the above are yes...
Dreamweaver CS3
-------------------
1. Create a plain php file (name doesn't matter, the directory should be created for your specific domain) and save it in that directory.
2. From the top line menu, select Window - Databases.
See my screenshot image...
You'll want to start off with creating the Site, then fill in all of the inputs for the following Advanced tab Categories... Local Info, Remote Info, Testing Server. Be sure and TEST them successfully.
3. You'll want to create the MySQL Connection (option 4 in the list in order).
Connection name
localhost
user name
password
(if the above is correct)
Your table should show up in the bottom input field.
Save and at that point, you should be ready to go with MySQL.
Thanks for your prompt response. DataAssist seems to connect ASP pages to MS SQL, but we do not know how to connect PHP pages to MS SQL.
Call you call me toll free (877) 472-4279 x116 now?
Gary
Gary,
My apologies. I misread your subject line. I provided you with MySQL connectivity instructions, NOT MS SQL. I have no experience with MS SQL and I am not sure if Dreamweaver even supports it.
I am not a WebAssist employee, I would wait to hear from them here...
Sorry for the confusion.
Tom
Here's how the connection is made manually:
function.mssql-connect
But it should be known that experts strongly recommend NOT using MS SQL with PHP.
Is there no way to export the data and start using MySQL - which is recommended and works flawlessly with PHP?
Cheers,
Brian
Dreamweaver does not connecting to an MS SQL database using PHP. This would need to be hand coded to make work and will not be supported using WebAssist Extensions.
As SOJO Web stated, it is not recommended to use MS SQL with PHP.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.