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
use stripslashes() in the submit page to take care of the problem with the
quotes
for ex, if the name of the textbox for description is "txtDesc",
use the following line at the top of the page
$describe=stripslashes($describe);
so your code will look like
PHP Script #1: Editing description
pr
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
7 matches
Mail list logo