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.";

$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

adding 0 to numbers
Hey guys i need to create a 00001 number in a loop. Is there a better way of forcing a 5 digit numbe

Best way to read this text file.
Hi.I am planning to make a small application in C# to convert the players from Football manager 2010

How to update this array?
I am saving a string that looks this: username1, username2, username3...
into a single cell in a

cURL error
So here is my code... I got it off of here... http://www.youtube.com/watch?v=XcgQUsorF_8
Because

$variable $variables type question
I need to be able to designate an array element dynamically, so I thought to use a variable variable

Custom list order
Hi there,

I have checked this tutorial and it's great till the point where I want to display

UL and LI Add Form
The idea I want here is when the user click on a character name from the drop down select bar at the

Email logic not working
I would like to send an email using the php email() function then if it does execute i.e sends i wou

Gridview Not updating in Update Panel
I have a gridview, three dropdown list boxes, and a button on my form. What is displayed in the gri

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

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