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
How to include a file code in different files in php?
What is the default session time in php?
What is difference between required and require_once in php?
What is http get and post?
What is polymorphism?
What sized websites have you worked on in the past?
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
Does php pass arrays by reference?
What are the difference between array_keys() and array_key_exists() in php?
What are the advantages of indexes in php?
How to merge values of two arrays into a single array?
Which function is used in php to check the data type of any variable?
what is the use of include_once in php?
What is the difference between exception::getmessage and exception::getline?
Why does php need server?