Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
Join author David Gassner as he describes how to add dynamic data to a PHP-enabled web site in Adobe Dreamweaver. This intermediate course shows how to plan and create a MySQL database, define a PHP-enabled site in Dreamweaver, connect the site to the database, and manage and present dynamic data. David also explores Dreamweaver features such as PHP custom class introspection and site-specific code hinting as well as the differences between the CS5 and CS6 versions of the software.
This course was updated on 6/12/2012.
Just a quick word about the exercise files I'll be using. If you're a premium member of the lynda.com online training library, or if you're watching this tutorial on a disk, you have access to the exercise files used throughout this title. In the Exercise Files folder I've collected some assets for you to use during our tour of building dynamic web sites with Dreamweaver and PHP. They include graphic files, an SQL script to create a sample database, and starting web page files for use in the sample web sites that I'll be creating.
I've copied the folder to my Desktop, but you can put it wherever you want. To get started with the video series, you'll need to follow the instructions in Chapter 1, where I describe how to install the server software you'll need; WAMP Server for Windows or MAMP for Mac OS X. From that point forward, you can choose to work through the entire video series from start to finish, or if you'd like to jump in at a particular chapter, you can use the starter files for that chapter. In some chapters, such as Chapter 2, I have an entire new version of a site for each exercise.
In other chapters, such as those working with databases, I've created a single copy of the web site that you'll use throughout the chapter. For these chapters especially, I recommend always watching the first video of the chapter, since I frequently give instructions for configuring the new version of this site before launching into the chapter's individual exercises. If you don't have access to the exercise files, you can still follow along the instructions and demonstrations on screen and use any files you want as you create your own dynamic web site.
Find answers to the most frequently asked questions about Dreamweaver with PHP and MySQL.
Here are the FAQs that matched your search "":
<?php include('../ZendFramework/library/Zend/Date.php'); ?
<?php echo $_SERVER['DOCUMENT_ROOT']; ?
You can then programmatically modify the include_path variable at runtime with the set_include_path() function. For example, if your physical root folder is /home/myroot, the code might look like this:
<?phpset_include_path('.' . PATH_SEPARATOR .'/home/myroot/ZendFramework/library/Zend');include('Date.php');?
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.