![]() |
Best way to echo some js
I have an if statement that will echo some javascript if certain things are true.
I'm currently writing it as: PHP Code:
I'm sure there must be a better way to do it than this? |
Looks OK to me... You may want to consider using PHP's short tags for this too:
PHP Code:
|
| All times are GMT. The time now is 11:07 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0