Business & Finance Advertising & sales & Marketing

How to Build Database-Driven Websites Using Dreamweaver

    Defining The Dreamweaver Site

    • 1). Fire up your Dreamweaver application and under the "Create New" section, select "Dreamweaver Site."

    • 2). Define the site name as well as the HTTP address if you have one. Click on "Next."

    • 3). Select "Yes, I want to use a server technology" for the next part. Click on the "Advanced" tab and select the "PHP MySQL" Server model. This model is popular and most Web servers are likely to support it.

    • 4). Browse to select the location for storing your files on the computer during development. Click on "Next."

    • 5). Select your mode of connection. If not sure, select the "Local/Network" and click on "Next."

    The Database

    • 1). Fire up your My SQL client software that comes separate with Dreamweaver. If you are using a local server to test your Website, most will install a MySQL client automatically which you can use to set up the database.

    • 2). Define the database name and insert the information as required.

    • 3). Navigate back to Dreamweaver

    Layout and Code

    • 1). Create forms by going to the "Insert" menu and choosing "Form Object". You can insert other items on the Web page like text fields, buttons, radio buttons, lists and menus. In this example, you can start by designing a log-in page that includes a user ID, password and name.

    • 2). Switch to the "code" view in your Dreamweaver application and insert the PHP script that will be used to retrieve the form inputs, send them to the server and return the processed information. This PHP code needs to reference the form details in order to work. In this case, the user ID, password and name fields should all be contained in the My SQL database in order to be retrieved and authenticated.

    • 3). Place all your files on the server and test by firing up your browser and accessing the Web page.

RELATED POSTS on "Business & Finance"

Leave Your Reply