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

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

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

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

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,

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

text box alphanumeric caracters only
hi all!

I have search on google on how to enter in a test box only caracters A-Z,a-z,0-9 usi

user data not transferring to new page
I'm a PHP learner. After an index.php page, the user goes to a login.php page. Both pages seem to

Procedural to OOP
ohn Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pri

word wrap in emails help needed
Hello, I understand how wordwrap works in php and have used it well before. However when I used wor

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