I'm updating my portfolio to include PHP, however, I'm having trouble getting the PHP to work on a HTML page. The HTML works on the PHP page as expected. How do I connect the PHP to the HTML page. Right now when I view the HTMl page with the PHP on it I just see the PHP code. I'm a beginner at PHP and have studied it for about three months.
You need a server to parse PHP code. Either upload your HTML page(s) to your remote server or set up a local testing server on your PC. Below are some Apache testing servers you can download (free).
WAMP for Windows
XAMPP for Windows
http://www.apachefriends.org/en/xampp-windows.html
XAMPP for Mac
http://www.apachefriends.org/en/xampp-macosx.html
MAMP for Mac
http://www.mamp.info/en/downloads/index.html
Setting up a PHP environment in Dreamweaver
http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
Building your first dynamic website – Part 1: Setting up your site and database connection
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt 1.html
Nancy O.
Already answered in DW General Discussion Forum
http://forums.adobe.com/thread/1033598?tstart=0
Nancy O.
North America
Europe, Middle East and Africa
Asia Pacific