Jump to content

[SOLVED] Text Replacement In PHP


FXG

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.