Posted by pieterprovoost on 04/11/06 00:45
I'm sure it can be done with one line. I found a solution for the link, I'll probably be able to work something out for the other cases too. preg_replace('/(\[\[)(.*)(\]\])/','<a href=index.php?page=\2>\2</a>',$line); Thanks Pieter
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming