Copy link to clipboard
Copied
So, I've been using dreamweaver as a CMS applications; however, I've just run into a major problem where tons of my .php files have had two lines appended to the end, which in php is a code breaker. Anyway to stop this, or at the least delete all these new lines!
Copy link to clipboard
Copied
Thread has been moved to the Dreamweaver Application Development forum, which deals with PHP and other server-side issues.
I have been using Dreamweaver for PHP development for many years. Extra lines are never added to the end of pages unless you put them there yourself or something else in your setup is adding them.
If you are concerned about extra lines at the end of PHP scripts, omit the closing ?> tag. This is not only recommended practice, it's mandatory in the Zend Framework Coding Standard for PHP. See http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now