Results 1 to 9 of 9
Thread: ereg_replace not working...
Feb 16, 2001, 13:43 #1
- Join Date
- Aug 1999
- East Lansing, MI USA
- 0 Post(s)
- 0 Thread(s)
$content = ereg_replace("<a href=\"dmoz.php3?/\">Top</a>", "<a href=\"http://www.westbranch.net\">Home</a>", $content);
So when you add in the appropratie \'s right where the red is it looks like: /\_" without the _ (I'm talking the code - not the end result - the replace doesn't work so content looks the same before and after)
And I think that is where the problem is, because this statement isn't replacing like it should.