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

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

timezone change with date()
so i put all my times for posts in my made from scratch forum(not phpbb3 or sm)
in my mysql db u

Calculating n! using vector
#include
#include
#include

using

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

ctype() validation - allowing illegal characters
Hello,
I use ctype() to filter and validate a user form. However, I am trying to allow certain c

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

New to PHP and just trying to understand a little code.
I hope I'm not annoying anyone or breaking the rules but I was wondering about this bit of code righ

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