adspace


What are escaping characters? Explain with an example?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a web form?

1109


Write a program using while loop?

1115


how to detect a mobile device using php

1173


What is the current stable version of php? What advance thing in php7?

1094


What is trait in php?

1065


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1988


Explain me is it possible to destroy a cookie?

1026


Which variable declarations within a class is invalid in php?

1047


How to calculate the difference between two dates using php?

1143


What is the difference between htmlentities() and htmlspecialchars()?

1090


What sized websites have you worked on in the past?

1085


Tell me what kind of things have you done on the social side?

1064


sort term descripttion form, report and uery

2254


Name and explain five of the PHP error constants?

1033


What does $_files means?

1162