Just to update.
of course it was simple in the end…
if (strpos($linkout, 'booking.com') !== false){ ?>
//do something
} elseif (strpos($linkout, 'ezyrez.com') !== false){ ?>
//do something else
}
Thanks for sending me in the right direction John
webecho