Re: interesting preg_replace problem
| From: | Rex A. Roof | Date: | Wed, 11 Oct 2000 15:51:39 +0000 |
| Subject: | Re: interesting preg_replace problem | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19617@lists.php.net to get a copy of this message | ||
On Wed, Oct 11, 2000 at 10:42:28AM -0400, Daniel Convissor wrote:
> Hi Rex:
>
> > okay, maybe theres something more about php I don't understand then,
> > I'm running 4.0b3 (I should probably upgrade), and how I got that data that
> > I e-mailed, I did this:
>
> I tried this code also and it worked like a charm. But do note, I set the
> $test variable like this (though snipped it for brevity when sending this
> email):
>
> $test = "1. vi. [orig. from BASIC's `CHAIN' statement] To hand off ...
> ... number of links on the chain.";
>
> Perhaps you didn't quote it properly or used single quotes rather than double
> quotes?
I'm pulling this information out of a mysql database, and I've tried
it with, and without addslashes();
-Rex