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

Quick Syntax Question
Hi folks,

I'm getting the following error: "unexpected T_LNUMBER". I'm trying to b

Place specific image in html page when specific name is typed.
Hello,

Fairly new to PHP and was curious if someone might know how to solve a fairly simple r

Sharing PHP Sessions Across Domains
I am in the process of writing a script to share a php session across various domains I have.
The

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

remove a ; from emails in textarea
Code: <?php

session_start();

$database_host = "localhost&qu

How to restrict the display of report variants
Hello All,

I want t know how to restrict the display of report variants.
I mean, whe

Navigation include for all site directories
Hi,

I need a navigation include that can deal with directories at different levels on a site.

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

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