Re: Preg replace & Query Problem
| From: | Richard Lynch | Date: | Mon, 29 Jul 2002 22:05:50 +0000 |
| Subject: | Re: Preg replace & Query Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110261@lists.php.net to get a copy of this message | ||
> $style_1 = preg_replace('/\[url\]/', "index.php?catID=$category_id",
>$style_1);
> $style_1 = preg_replace('/\[title\]/', "$category_name", $style_1);
Why use preg at all?
http://php.net/str_replace will do it faster/easier...
--
Like Music? http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY two-input sound card supported by Linux (any
major distro). Need to record live events (mixed already) to stereo
CD-quality. Soundcard Recommendations?
Software to handle the recording? Don't need fancy mixer stuff. Zero (0)
post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo
audio-to-disk.