user PHP's heredoc syntax


/ Published in: PHP
Save to your folder(s)

The above example uses PHP's heredoc syntax. With it, we can completely eliminate PHP tags from the insides of HTML tags.

URL: http://pdxphp.org/articles/escaping-injected-data

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.