Chapter 28: Database Connections For Php Developers; Connecting To A Database - MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

Database Connections for PHP Developers
To use a database with a PHP application, you need to create a database connection
in Macromedia Dreamweaver MX 2004. This chapter describes how to create the
database connection.
For PHP development, Dreamweaver only supports the MySQL database system. Other database
systems such as Microsoft Access or Oracle are not supported. MySQL is open-source software
you can download for free from the Internet for non-commercial use. For more information, see
the MySQL website at www.mysql.com/downloads/mysql.html.
The chapter assumes you have set up a PHP application (see
Application," on page
or on a system to which you have network or FTP access.
To connect to the sample database provided by Dreamweaver, see "Setup for Sample PHP Site" in
Getting Started Help. To learn more about databases and database connections, see
"Beginner's Guide to Databases," on page

Connecting to a database

This section describes how to connect to a database when developing a PHP application in
Dreamweaver. It assumes you have one or more MySQL databases and that the MySQL
server is started.
To create a database connection to your MySQL database:
Open a PHP page in Dreamweaver, then open the Databases panel (Window > Databases).
1
Click the Plus (+) button on the panel and select MySQL Connection from the pop-up menu.
2
The MySQL Connection dialog box appears.
Complete the dialog box and click OK.
3
For more information, click the Help button in the dialog box.
The new connection appears in the Databases panel.
453). It also assumes a MySQL database is set up on your local computer
741.
CHAPTER 28
Chapter 23, "Setting Up a Web
Appendix A,
487

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents