PHP template - editable region is covering entire PHP script, not single lines
I have created a PHP Template in Dreamweaver CS6. Inside my PHP template, I have a PHP script which consists of 60 x code lines. A single code line needs to be updated on each .php file in my website, while the other 59 x code lines will stay exactly the same on all my .php files.
In my PHP Template, I have inserted an Editable Region, while selecting the 1 x code line which I would like to make editable. However, Dreamweaver makes the entire PHP script editable; from the beginning of my script to the end of my script.
---Editable region starts here---
<?php
60 x code lines...
?>
---Editable region ends here---
If I manually move the start/end of my editable region inside my PHP code, so that it only covers the single code line which I would like to be editable, I get a syntax error.
Is there a way for me to have only a single code line defined as an editable region, or do I need to have my entire PHP script as an editable region?
Can I perhaps use the "editable tag attribute" function to accomplish this?
Thanks in advance for your help.
