how to remove \ in php string display


Posted on 16th Feb 2014 07:03 pm by admin

My code is

$message="We're looking at developing our website.";

Did you know?Explore Trending and Topic pages for more stories like this.
$body= "My message is,nnnnttt".$message";

echo $body;

I get result

We're looking at developing our website.

Can any body tell me how to remove from the printed string?

Thanks in advance
No comments posted yet

Your Answer:

Login to answer
285 Like 8 Dislike
Previous forums Next forums
Other forums

Checking if a process is running (problems including psapi.dll i think...)
Ok, so all I'm trying to do is check if a program is running...

I've found out that I nee

script is pulling more then they have....
I have this script for my game where they can change there race. This will cost them 2,500 points. H

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

does anyone know a php script to send mail using gmails/googles free smtp server
cause i heard u can do that but i dont know how

Auto-populating dropdowns and multiple forms.
Here's what I have so far:

First drop down = select a state (works)
This populates the sec

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

Loop Through Date Range
Hi guys,
I have date range as parameter like 01/JAN/2009 TO 16/JAN/2009 now i want to loop thro

php problem?
I don't think I'm stupid, but maybe I am.

I am working on a sit for a friend I am try to put

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

Why do I get this error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5488351/public_html/b

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash