How to print \ in php. Only \ with out using . or *.
Answer Posted / naresh
$something = "oh something";
echo "My answer is \\\"is"\\\ $something" <br/>;
output:"My answer \"is" \ oh something
when we declare single \ it escaped but when we double the \
it will display the single \.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is mysql_fetch_row?
How easy is php?
Which will check if a function exists?
What is php oop?
What is the method to register a variable into a session?
Write a query to find the 2nd highest salary of an employee from the employee table?
What are the steps for the payment gateway processing?
Explain difference between urlencode and urldecode?
What is the purpose of using php?
Why do we show php code in browser?
Tell me what is use of in_array() function in php?
Tell me how can we get the error when there is a problem to upload a file?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
What is framework in php for beginners?
What is a substring in php?