Michael Hazzard Web Developer
Hollywood,FL
<php echo"I code therefore I am"; ?>     

PHP Here Doc

download

Puts an insert link button " " onto Dreamweaver's Common Bar.   When clicked it encapsulates the currently selected text into php's here doc syntax and outputs the variable called $text.  If used more than once in the same document, be sure to rename the variable $text to somethine else.

 

Great tutorial on how to do this here:

http://www.dwfaq.com/Tutorials/Extensions/simple_object.asp