I have a url from where i am fetching value using GET method and i want to replace that value with the 4 digit random number in the string like
This is my main URL: http://localhost/ab/index.php?id=3345
These are the strings in my table (fetching from database):
http://anyurl/index.php?id=4876&abc=any
http://anyurl/index.php?id=8726&abc=any
http://anyurl/index.php?id=9026&abc=any
So whenever i open the main url the id's of the table should be replaced according to the main url