Okay I can't print my code like I'd like too... but anyways there is that statement. Now imagine it with all the \'s before all the "'s like it should be (I can't include them because VB still parses them)Code:$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.







Bookmarks