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
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:
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'
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
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
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?
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
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:
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
9 matches
Mail list logo