note 47616 rejected from function.str-replace by tomsommer
| From: | tomsommer@php.net | Date: | Tue, 23 Nov 2004 00:13:32 +0000 |
| Subject: | note 47616 rejected from function.str-replace by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80897@lists.php.net to get a copy of this message | ||
Note Submitter: michelle at usr-bin-mom dot com
----
I have been using str_replace like so:
$entry = str_replace('[quote]','<blockquote><hr>',$entry);
What I'd really like to do is change:
[quote url="http://site.com/quoted"
title="title of quoted article"]
To:
<blockquote><hr><b><a href="http://site.com/quoted"
target="_blank">title of quoted article</a></b>
How would I do that?