RE: [PHP] Unwanted Characters

2001-02-25 Thread PHPBeginner.com
yton Dukes [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 2:34 PM To: [EMAIL PROTECTED] Subject: [PHP] Unwanted Characters How do I remove unwanted/unprintable characters from a variable? $sometext = "The car ran over my dog" needs to be filtered and reprinted as: &quo

Re: [PHP] Unwanted Characters

2001-02-25 Thread Clayton Dukes
e - From: [EMAIL PROTECTED] To: "Clayton Dukes" [EMAIL PROTECTED] Sent: Sunday, February 25, 2001 2:28 AM Subject: Re: [PHP] Unwanted Characters Clayton Dukes wrote: How do I remove unwanted/unprintable characters from a variable? $sometext = "The car ran over

Re: [PHP] Unwanted Characters

2001-02-25 Thread Chris Adams
On 24 Feb 2001 21:31:33 -0800, Clayton Dukes [EMAIL PROTECTED] wrote: How do I remove unwanted/unprintable characters from a variable? $sometext =3D "Th=C0e c=D8ar r=F6=F8an over m=D6y dog" needs to be filtered and reprinted as: "The car ran over my dog" Strip everything which isn't in the list

[PHP] Unwanted Characters

2001-02-24 Thread Clayton Dukes
How do I remove unwanted/unprintable characters from a variable? $sometext = "The car ran over my dog" needs to be filtered and reprinted as: "The car ran over my dog" Thanks :-) Clayton Dukes

Re: [PHP] Unwanted Characters

2001-02-24 Thread Joe Stump
Look at the chr() function - figure out what the character is (number wise) and then do an ereg_replace(chr(),'',$string) (from the hip - you can do a replace with chr() on one of the replaces, I've done it before) --Joe On Sun, Feb 25, 2001 at 12:34:21AM -0500, Clayton Dukes wrote: How do I

Re: [PHP] Unwanted Characters

2001-02-24 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Joe Stump) wrote: Look at the chr() function - figure out what the character is (number wise) and then do an ereg_replace(chr(),'',$string) (from the hip - you can do a replace with chr() on one of the replaces, I've done it before)

Re: [PHP] Unwanted Characters

2001-02-24 Thread mwaples
Clayton Dukes wrote: How do I remove unwanted/unprintable characters from a variable? $sometext = "The car ran over my dog" needs to be filtered and reprinted as: "The car ran over my dog" Thanks :-) Clayton Dukes ?php $sometext = "The car ran over my dog"; $thread =