Home Download Buy Blog Forum Support

?> <?php Tags within a php block

?> <?php Tags within a php block

Postby raptor235 on Thu Jan 19, 2012 10:01 pm

Hey guys, textmate had a great function when you typed the word php within a php block it would turn

function scan_non_payment(){
die();
}

into

function scan_non_payment(){
?> <?php

die();
}

so it was aware if it was within php scope or html scope and do the opposite so you can intermix php and html...

in sf2 php works just in plain text it turns into <?php ?> but that's it it won't work further within the functions...

anyway to get the same functionality?
raptor235
 
Posts: 35
Joined: Mon Jan 16, 2012 7:13 pm

Re: ?> <?php Tags within a php block

Postby raptor235 on Thu May 10, 2012 12:48 pm

anyone?
raptor235
 
Posts: 35
Joined: Mon Jan 16, 2012 7:13 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 16 guests