IDE won't properly syntax highlight it since it is written in a PHP statement. You won't be able to lint your Javascript. Seperation of concerns.
more
more
Home »Unlabelled » [serious] Why is placing JavaScript code in a PHP echo statement a bad practice?
Posted by Unknown on Monday, August 18, 2014
2010 All Rights Reserved Php programming tips.
» Php programming tips: [serious] Why is placing JavaScript code in a PHP echo statement a bad practice?
{ 0 comments... » [serious] Why is placing JavaScript code in a PHP echo statement a bad practice? read them below or add one }
Post a Comment