Home Download Buy Blog Forum Support

PHP snippets not working and cant escape $ character

PHP snippets not working and cant escape $ character

Postby Dzumla on Fri Apr 26, 2013 4:16 pm

Hello,

PHP snippets don't seem to work at all. If I am in a php file or inside php tags in an html file, and i start typing '$_', nothing pops up (and I saw that snippets for that exist).

Also, I made some custom snippets for Javascript, and they work, but I can't escape some characters, for example '$'.

I tried using a backslash but it didn't work.

This is my snippet, how would I change j to $ ?

Code: Select all
    <content><![CDATA[

function j(id) {

   return document.getElementById(id);

} ]]></content>


Thanks
Dzumla
 
Posts: 1
Joined: Fri Apr 26, 2013 4:12 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 12 guests