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

Call db table from any PHP file
Hi,

I want to be able to call a database table that will be setup in another file called init

Getting a variable to work in function params
I have this fuction which is inside a class:

Code: public static function generateEmbedCode($

UPLOAD IMAGES NOT WORKING!
Hi there i have a upload script in which it uploads the picture to a folder than creates two thumbna

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

PHP, Arrays & A Lot Of Confusion
I've been doing basic PHP work on sites for a few years now, but I've never been tempted to learn ho

Problem with HTTP Caching...?
Hi there, im trying to implement caching. But it doesn't always work.
I post it here because ther

writing my own sobel filter convolution - something is wrong
I am trying to keep it very simple, I cant see anything wrong with my logic, could anybody help poin

form problem
Hi all, I think this is going to be easy to resolve but for I have been looking at it to long and I

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

Sub-domains & calling unique content
Hello,

Is there a way use something similar to the $_GET function for a sub-domain? I to be a

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