What is wrong with this line? <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre> $content = ereg_replace( "\[L=([-_./a-zA-Z0-9!&%#?,'=:~]+)]". "([-_./a-zA-Z0-9 !&%#?,'=:~]+)\[EL]", "<A HREF=\"\\1\">\\2</A>"); [/code] Thanks! ------------------ ICQ Me! (73902680)
ereg_replace requires 3 vars, you have 2: ereg_replace(string pattern, string replacement, string string); (haven't checked the regular expression)
Forum Rules
Bookmarks