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

Echoing ASCII code
I have a php page that splits a string into chars and then echoes the ASCII code for each char. I'm

Custom list order
Hi there,

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

Something Non-Traditional. Can we solve?
I have an idea for an application here. It's mostly flash, but it couldn't work without a somewhat n

php web service error
hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutor

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

query based on 2 conditions
I want to select if the doc_type is either s OR f but this doesn't work:

Code: [Select]$query

Using insert variable
need a way to inert variable data to mysql database

$acc = "212121212";
$nok =

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

pop3 and fsockopen
So I am able to connect to the pop3 server, log in, and check how many messages there are. I am hav

check if string contain only a-z/A-Z
Is where any way to check if string contains only a-z/A-Z, without writing an array with all possibl

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