Rewrite Views field result using code How do I rewrite views field result programmatically? I want to change the link basing on another field value.

I have a field called room typ,e which is a reference to taxonomy terms (Bedroom / Meeting Room). The second field is the node ID, which I want to use to give the link of the page (there are two different page: Enquiry and Booking). If the selected term is Bedroom, I want to link the Booking page; if the selected term is Meeting room, the link should be Enquiry. I want to change the link text for Meeting room: It should be Enquire Now and Book Now.
You could add news fields to your vocabulary for the link text ('Enquire now') and for the href ('Enquiry')

You'll add these new fields to your view, and then you will be able to format your link like nandhana said.
And the reference will do the rest ...  

But be sure that the 'nid' is the lower field among all others, so that you can access to all others fields