Re: Single Quote in String functions

From: Date: Thu, 12 Jul 2007 13:33:28 +0000
Subject: Re: Single Quote in String functions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-258695@lists.php.net to get a copy of this message
On Thu, 2007-07-12 at 15:47 +0300, Sancar Saran wrote: > On Thursday 12 July 2007 15:11:28 Stut wrote: > > Sancar Saran wrote: > > > I cannot do any operation wiht single quote like > > > > > > explode("'",$strContent); > > > > > > Did I miss someting ? > > > > In what way "can't"? What happens / doesn't happen? > > > > -Stut > > > > -- > > http://stut.net/ > > Hi, > > Problem was > > $strng = "'cInputI' style='width:146px;'>"; Shouldn't that be $string = ...? > $arrExplode = explode("'",$string); > > $arrExplode contins > > [array][1] > * "0"=>[string]['cInputI' style='width:146px;'>] > > And not only explode for example I canot trim first "'" Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ...........................................................

« previous php.general (#258695) next »