I think Jeremy means how to use it as an integer, if it is stored as a
string. In this case, use $intvalue = $strvalue + 0, where $strvalue is
"0", "1" and so on.
Edwin
Jeremy wrote:
Hey folks,
Im apologize that this is just a really easy general php question but any help would
be appreciated.
$str = '"hi"';
$newstr = eregi_replace("\"", "", $str);
-Original Message-
From: Peter Beckman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 March 2003 4:33 PM
To: Foong
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Re: Really easy que
$str = '"hi"';
$newstr = preg_replace("/\"/", "", $str);
On Wed, 19 Mar 2003, Foong wrote:
> try
>
> $with_quote = '"0"';
> $without_quote = str_replace('"', '', $with_quote);
>
> Foong
>
>
> "Jeremy" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Hey folks,
> Im apologize that
try
$with_quote = '"0"';
$without_quote = str_replace('"', '', $with_quote);
Foong
"Jeremy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hey folks,
Im apologize that this is just a really easy general php question but any
help would be appreciated.
if i have a variable that is