What are escaping characters? Explain with an example?



What are escaping characters? Explain with an example?..

Answer / Laxmi Chauhan

Escaping characters in PHP are used to insert special characters like quotes, backslashes, and newlines into a string without causing any syntax errors. The backslash () is the most common escape character. For example, to include a double quote within a string, you can use '"'. Similarly, to include a backslash within a string, you can use ''.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Can you convert php to html?

1 Answers  


What is the difference between == and === in php?

1 Answers  


Tell me what is the main difference between php 4 and php 5?

1 Answers  


What is php how it works?

1 Answers  


What is filter_var?

1 Answers  


What sized websites have you worked on in the past?

0 Answers  


what is magic code ?

4 Answers   eVenturers, iFlash, Zynga,


What is php and sql used for?

1 Answers  


What is the difference between mysql_fetch_object and mysql_fetch_array?

10 Answers   Sarv,


Is not null mysql?

1 Answers  


Explain about Functions in PHP?

1 Answers  


What are the delimiters in php?

1 Answers  


Categories