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

Why is this function returning a false value when it shouldn't be??
This is in an include file. I want it to check a value in an html form and see if it's just white s

Last character removed
I have created a string from an array. I have inserted commas from my form values. I am trying to re

Preventing SQL Injection
I have a question about SQL Injection, In some of our code we use this: view plaincopy to clipboa

Strip Slashes Help
I've got a script that i've downloaded of the net to edit multiple fields from my sql database, and

download directory onto C drive
I am attempting (if this is possible) to write a routine to automatically dump the contents of a dir

Hardcopy printing is to wide
I want to make a hardcopy at runtime of my active form like this

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

Get ID from Database when Posting with a HTML Form
I have a form I am submitting to a MySql database. Each product has an ID # attached to it that auto

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

Production Order Enterprise Service to Manufacturing Exctn Sys (MES) ???
Hello Experts,

In our current landscape SAP ECC 5.0 is integrated to MES system via PI 7.

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