Re: [PHP] preg_replace single quote

2005-08-03 Thread Psystorm
Paul Nowosielski wrote: Hi All, I'm trying to strip single quotes using preg_replace() with no luck. Can someone give me some advice on achieving this? TIA! $string = preg_replace('/\'/', '', $string); should work fine Kind regards, Thomas Obermüller -- PHP General Mailing List (http:/

Re: [PHP] constructors in PHP

2005-07-11 Thread Psystorm
Burhan Khalid wrote: Alessandro Rosa wrote: Thanks to all for clear responses! So just a question now, why have not multiple constructors been implemented? Are there some security issues related to them ? As far as I know, its not a security issue, but a structure/design issue. The iss