Jump to content

Recommended Posts

Hello Everyone,

 

This is my first post on this forum, it is great! Reading the old posts I have found members to be courteous and very helping, that encouraged me to post my problem here.

 

What I am trying to do is to remove a URL before saving into html file. Please see the attached file.

 

The URL I want to remove is:

 

<a href="/index.php?MIndex=03&currPageNo=1&getStory=goldrates">

 

I can't figure out why it is not getting replaced with the code in the attached file:

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/141658-solved-text-replacement-in-php/
Share on other sites

Hello, even with the file given and your explanation I don't understand what exactly you want to do, and where exactly this replacement should take place..

 

lets play a little game:

 

pretend I'm someone not very intelligent..

 

tell me step by step where and what you're doing

 

and tell me where you hit the problem..

 

and the current reaction/errors.. and the desired outcome of success

 

thanks, Russell

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.