Re: Really easy question
| From: | Foong | Date: | Wed, 19 Mar 2003 05:23:42 +0000 |
| Subject: | Re: Really easy question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26459@lists.php.net to get a copy of this message | ||
try
$with_quote = '"0"';
$without_quote = str_replace('"', '', $with_quote);
Foong
"Jeremy" <jeremy@basinbroadband.com> wrote in message
news:001f01c2edd0$4e945680$1e52c541@nunya...
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 = to something like "0" or "1"
but I just need it to be 0 or 1. how do i strip the " off.
thanks,
Jeremy