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

Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postb

unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_
Can anyone view my code and tell me why im getting the error:
Parse error: syntax error, unexpect

=> and <=
So I was digging through some code when I came across the <= operator. This is the first tim

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

Changes to hosting company's server has affected web contact form
I started a thread a couple of months ago about the contact forms on my client's website. Basically

Class not found error
I am getting Class 'index' not found in Eval function:

//write config

$pat

TimeZoneOffset
Hello,

Please i need your help. I have a system that users can use to punch in and out. This

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

Simple image grab script.
I was wondering if it was possible and if anyone knew how to make a simple php script that looks at

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