Have an account? Sign in
Login  Register  Facebook
This Page is Under Construction! - If You Want To Help Please Send your CV - Advanced Web Core (BETA)
Quick Table of Contents
[Edit] ASP Style
Microsoft ASP pages employ a delimiting strategy similar to that used by PHP, delimiting static from dynamic syntax by using a predefined character pattern: opening dynamic syntax with <%, and concluding with %>. If you’re coming from an ASP background and prefer to continue using this escape syntax, PHP supports it. Here’s an example:
<%
print "This is another PHP example.";
%>
Keep in mind that just because you can do something doesn’t mean you should. The ASP Style and Script delimiting variants are rarely used and should be avoided unless you have ample reason for doing so.
September 21, 2011