Escaping your code – Escaping double codes


Right up there with remembering to terminate your commands with semicolons ( ; ) is remembering to escape characters such as quotation marks. When you use quotation marks inside other quotation marks, the inner pairs must be delineated from the outside pair using the escape () character (also known as a backslash).
The following steps show you what happens when your code isn’t escaped and how to fix it.

1. Open a new file in your text editor.
2. Type the following HTML:

<HTML>
<HEAD>
<TITLE>Escaping double codes</TITLE>
</HEAD>
<BODY>
<?
echo “<P>I think this is really “cool”!</P>”;
?>
</BODY>
</HTML>

About the author

Being the CEO and Founder of ClecoTech International, Mr. Ashish Prajapati is dedicated towards his aim of mentoring young startups into a full-fledged businesses. He is helping startups from America, Europe, India, and various other countries through proper guidance and the use of latest technologies to develop their innovation and ideas into definite realities.

Leave a Reply

Your email address will not be published. Required fields are marked *