Sorry to resurrect an old thread, but this is exactly what I am looking to do and have modified to my needs, but can not for the life of me figure out how to add another table value into the equation?
In this example we are looking into the database for:
‘room_types_%_room_type’
in my example I need to also find another:
‘room_types_%_room_price’