I'm trying to figure out how to use string_replace or substr_replace to add an variabel to several of lines in my script.
I want to dynamicly look through my script and everytime i come across this:
users.php?ga=
I want to be able to add at the end of the line a "&con=1"
In my script the lines with the users.php?ga= could look different like this:
users.php?ga=start&id=15
users.php?ga=news&name=peter&age=35
users.php?ga=profile&id=1458
etc, etc...
At all these lines I want to add the "&con=1" at the end...
Can this be done???
In advance thanks :-)