Php codes snippet parse mySQL row defined in the codes and update all event found. This code must modify URL path like this:
[login to view URL] to [login to view URL]
another example:
[login to view URL] to [login to view URL]
The code must modify the current path to new url path with subdirs.