SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: What's wrong with this line?
-
Jul 25, 2000, 20:18 #1
- Join Date
- Jul 2000
- Posts
- 759
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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)
-
Jul 27, 2000, 02:08 #2
- Join Date
- Jul 1999
- Posts
- 62
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ereg_replace requires 3 vars, you have 2:
ereg_replace(string pattern, string replacement, string string);
(haven't checked the regular expression)
Bookmarks