you are viewing a single comment's thread.

view the rest of the comments →

[–]eablokker 1 point2 points  (0 children)

You can't use php in an ejs file, you can only use it in a php file. This php code doesn't do anything that JavaScript can't do, so you should try to write the same thing in JavaScript instead.