Hi everyone, this is my first post here and I'm a PHP newb, so excuse me if this is easy mode. I know a lot of HTML, etc. a bit of a "copy paste coder", but this is my first time really trying to make a script.
Essentially what I want is a script where on the index.php there's 2 boxes, 1 for the base content, and another for the variable that needs to be replaced within the content.
The variable will remain constant, we'll call it %VARIABLE%. However the text replacing the variable will change each time.
This base content is fairly long so hopefully that wouldn't be a problem. I've found a lot of str_replace() scripts online but I don't want to have to change the file each time.
Any help, or pointing me in the right direction would be much appreciated.