why not str_replace('"','|', $describe);
?
this gotta work ...
Cheers,
Maxim Maletsky
-Original Message-
From: Tanya Brethour [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 3:17 AM
To: Web master
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Qou
uot;smelly cheese."
>
> try it out
>
> best regards
>
> Ankur Verma
> HCL Technologies
> A1CD, Sec -16
> Noida, UP
> India
>
> - Original Message -
> From: "Tanya Brethour" <[EMAIL PROTECTED]>
> To: "Web master" <[EMAIL PROT
thour" <[EMAIL PROTECTED]>
To: "Web master" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 11:47 PM
Subject: Re: [PHP] Qoute problem
>
>
> Let says I strip the slashes.. so it goes back to just normal qoutes.. and
> then
ise you will have to use
multiple stripslashes() calls to get back to your original data
hope that halps
best regards
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
- Original Message -
From: "Tanya Brethour" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
On Wednesday 14 February 2001 17:56, Tanya Brethour wrote:
> Hi! I was hoping that someone could help me out. I am not positive if I
> understand whats going on.. so let me try to explain.
>
> This is a process to modify news articles in a MySQL database.
>
> (From the point after picking the arti
Let says I strip the slashes.. so it goes back to just normal qoutes.. and
then do the str_replace("\"","|", $describe);
$describe = stripslashes($describe);
str_replace("\"","|",$describe);
It doesnt replace the qoutes..
-Tanya
On Wed, 14 Feb 2001, Web master wrote:
> My approach towards t
My approach towards this problem was to parse the data before inserting
and before displaying.
Before inserting the data entered by user, do something like
str_replace($comments, "'","~") and do the same thing for " do a
different character like | and then insert it into database.
Do the revers
Hi! I was hoping that someone could help me out. I am not positive if I
understand whats going on.. so let me try to explain.
This is a process to modify news articles in a MySQL database.
(From the point after picking the article to modify)
PHP Script #1:
I grab everything from the database
8 matches
Mail list logo