Re: [PHP] Single Quote in String functions

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 7:02 am, Sancar Saran wrote: I cannot do any operation wiht single quote like explode(',$strContent); Did I miss someting ? Works for me, so you've definitely missed something somewhere. Like telling us what's in $strContent and whatever else is before the code that

Re: [PHP] Single Quote in String functions

2007-07-12 Thread Stut
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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Single Quote in String functions

2007-07-12 Thread Sancar Saran
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'

Re: [PHP] Single Quote in String functions

2007-07-12 Thread Sancar Saran
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 ? Omg, It's my bad, sorry for lameness. Before the exploding text I do some encoding decodings. So? I do mis sequenced

Re: [PHP] Single Quote in String functions

2007-07-12 Thread Robert Cummings
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

Re: [PHP] single quote escape questions

2004-04-20 Thread Hardik Doshi
Secondly, what is best/favorite way to escape chars for mysql? I know that mysql_real_escape_string() has been recommended recently. But that brings up the issue of magic quotes. Would set_magic_quotes_runtime(0) be a reliable way of making sure my code runs with magic quotes off?

RE: [PHP] single quote replace

2001-09-11 Thread Jack Dempsey
php does;-) $text = str_replace(',replace_text,$text); -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 1:33 PM To: [EMAIL PROTECTED] Subject: [PHP] single quote replace Does anyone have a function that will replace single quotes

RE: [PHP] Single quote

2001-07-06 Thread Steve Brett
string stripslashes (string str) Returns a string with backslashes stripped off. (\' becomes ' and so on.) Double backslashes are made into a single backslash. Steve -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: 06 July 2001 10:29 To: [EMAIL PROTECTED] Subject:

Re: [PHP] Single quote

2001-07-06 Thread Alexander Deruwe
On Fri, Jul 06, 2001 at 11:28:38AM +0200, Andy wrote: I got a data file containing this line: $ 1'000'000.- Then I read and echo this line $fp = fopen ( $sFilename,r); $sData = fgets ( $fp, 1000 ) ) echo $sData Now what came out is $ 1\'000\'000.- I tried to