Test pages with Live view and Live Code view Dreamweaver and PHP


show more Testing pages with Live view and Live Code view provides you with in-depth training on Business. Taught by David Gassner as part of the Dreamweaver with PHP and MySQL show less
please wait ...

Testing pages with Live view and Live Code view

I've shown you so far how to execute PHP code on the server and then how to look in the browser to see what's returned from the server to the client. You can also do this in Dreamweaver using a feature called Live Code. For this demonstration, I'll use a set of files in the chapter 02_gettingstarted and in the folder 06_liveview. I'll set my site to point to that folder, and then I'll open the file variables.php. This file has a bit of PHP code at the top that sets a variable named welcome, and then down in the content area of the page, there is another PHP command that uses the echo command to output the value of the variable.

When I click the Live View button on the toolbar, Dreamweaver copies the PHP file over to the server folder, and then shows the resulting output in Design View. Let's take a look at the Live Code feature. The Live Code feature shows the resulting output in Code View. This is very similar to what you get in the browser when you say you want ...

Testing pages with Live view and Live Code view
Video duration: 2m 9s 4h 55m Intermediate Updated Jun 12, 2012

Viewers:

Testing pages with Live view and Live Code view provides you with in-depth training on Business. Taught by David Gassner as part of the Dreamweaver with PHP and MySQL

Subjects:
Business Developer Web
Software:
Dreamweaver
Author:
please wait ...