SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Threaded View

  1. #1
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    $content = ereg_replace("<a href=\"dmoz.php3?/\">Top</a>", "<a href=\"http://www.westbranch.net\">Home</a>", $content);
    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)

    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.
    Last edited by aspen; Feb 16, 2001 at 13:36.
    Chris Beasley - I publish content and ecommerce sites.
    Featured Article: Free Comprehensive SEO Guide
    My Guide to Building a Successful Website
    My Blog|My Webmaster Forums


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •