[mailto:[EMAIL PROTECTED]]
Sent: Saturday, 28 July 2001 2:15 PM
To: Matt Stone
Cc: PHP list
Subject: Re: [PHP] Stripping single quotes
Matt,
Try ereg_replace:-
$fldemail == ereg_replace(',,$fldemail);
Chris
Matt Stone wrote:
Hi all,
I am trying to validate some email addresses before
:15 PM
To: Matt Stone
Cc: PHP list
Subject: Re: [PHP] Stripping single quotes
Matt,
Try ereg_replace:-
$fldemail == ereg_replace(',,$fldemail);
Chris
Matt Stone wrote:
Hi all,
I am trying to validate some email addresses before they are entered into
the database
Thanks for your help everyone, I feel pretty embarrassed to have made a
mistake like that! :o
-Original Message-
From: Bojan Gajic [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 29 July 2001 12:44 AM
To: Matt Stone
Subject: Re: [PHP] Stripping single quotes
you are not assigning
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Elan)
wrote:
I have a string, "'abc'". How do I convert it to "abc" (i.e. how do I
strip the embedded single quotes) with a minimum of overhead?
If there's no chance that the string could also contain legit single-quotes
(such as as an
use the following code
$vals=explode("'", "'abc'");
$your_value=$vals[0]; //I am little confused, if it is not working try
index1
Elan wrote:
Hi,
I have a string, "'abc'". How do I convert it to "abc" (i.e. how do I
strip the embedded single quotes) with a minimum of overhead?
(In case
5 matches
Mail list logo