Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
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.
To follow along with the exercises in this video series, you'll need to install a local copy of the Apache HTTP server, the MySQL database, and PHP. There is a video course that teaches how to install these products locally that I created. It's named Installing Apache, MySQL, and PHP, and it's available completely free in the lynda.com online training library. In this course, there is an introductory chapter including a video about understanding Apache, MySQL and PHP and how they can work together.
But then there are separate chapters on each of the different ways to install these products. There is a chapter on installing separate components on Windows, and one on separate components for Mac OS X, but if you're watching the video series about Dreamweaver with PHP and MySQL and want to match what I'm showing on my screen, if you're a Windows user, I recommend installing WAMP server, and if you're a Mac user I recommend installing MAMP. You should only have to watch and follow along with one of these two chapters.
Don't install both separate components and one of these software bundles at the same time, because you might introduce port or DLO conflicts into your system and have a hard time getting things started, but if you follow along in these chapters, you should be able to get started very quickly. And if you have any trouble getting these software products installed and set up, you can also watch the chapter at the end labeled troubleshooting. I periodically update this course on installing these products, as things change in the real world.
For example, there's a new version of PHP as of the time of this recording, PHP 5.4, and I'll be doing an update to this course to describe how to get started with that version if you want to use it. So watch this course to get started installing the software products and then once you have them installed and tested, come back to the course, Dreamweaver with PHP and MySQL, and continue through those exercises to learn how to work with PHP and MySQL from within Dreamweaver CS5, 5.5 or CS6.
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.