|
Posted by Mark Parnell on 10/25/05 04:15
In our last episode, Luigi Donatello Asero <jaggillarfotboll@telia.com>
pronounced to alt.html:
> I tried to insert it on this page.
> but it does not work. Why?
Because I'm an idiot. :-)
Firstly, str_replace needs a 3rd parameter, being the text to search.
But it's not really going to help you unless your content comes out of a
database, because otherwise you would have to put the entire body of the
document inside the str_replace function (or wrap it around every
paragraph, which would take longer than just replacing the text in the
first place.
Unless your content is in a database, you'd be better off doing a global
search and replace in your HTML editor.
--
Mark Parnell
http://clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
[Back to original message]
|