Have a MySQL database table with 2 columns: id, url
The url column has values like 'http://www.example.com/'.
I need to add a string like 'http://www.x.com?redirect=' to the beginning of all the column values - i.e. to change the values like this: http://www.example.com/ ===> http://www.x.com?redirect=http://www.example.com/
Anyone has some clues to how I can do that?
I have looked into using CONCAT(), but so far I haven't been able to make it work :(
Thanks a lot for your help, Louisa
SELECTquery? Moreover, does this sort of processing not more appropriately belong in the presentation layer of your application?