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

IP Based Cron Jobs
I run cronjobs on my website. After one of my visitors got curious and tinkered around he realized h

Access database inside of a validation class
Hello,

For quite some time, I have been using functions to validate form input and access the

mr8m - reverse document
Friends,

I'm trying to reverse a document held by MIRO, but it reports the message balan

form submit at godaddy?
Trying to test form submission at GoDaddy and it does not seem to work. Here's the page...

h

delete comma
HI,

How to delete "," at the end of the string.
Code: $match = 2009/02/03/a2corr

Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on

Trying to add functions to table
I have this list of characters and I'm trying to figure out what I have to do to put the results of

Php mysql - select?
Hi i have this code:
Code: $iteminfo = mysql_query("SELECT desc FROM wc_items WHERE itemid =

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

foreach loop, assistance request
I would like some guidance on the usage of foreach as I try to parse through a large database and wh

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