I have a customer area on a retail website , which returns the customers parcels tracking number when despatched.

What i'm after is a way to turn this tracking number into a working hyperlink which when clicked opens a new window into the couriers website automatically pushing the tracking number into the url and tracking the parcel for them.

My problem is i need code to reference the tracking number eg 1193849302, and insert it into a url http://www.example.com/track=[tracking number], so that the [tracking number] is replaced by 1193849302

then to have showing only the tracking number which is hyperlinked to said URL, i.e. 1193849302 (hyperlinked)

I've seen this or the big site but cant figure it out can anyone help?