How to fetch table Values

I Have Table Structure as follows

Customers={customer1={insurances={insurance1={name=“car”,no=100},insurance2={name=boat",no=200}},
customer2={insurances={insurance1={name=“auto”,no=300},insurance2={name=car",no=100}}
}

How do i access insurance1 name and no of particular customer i.e. customer1 or customer2?

Please Help asap

Thanx in advance… [import]uid: 42171 topic_id: 9033 reply_id: 309033[/import]

Customers.customer1.insurances.insurance1.name


If you read through the entirety of the following page, you’ll have a much better understanding of tables as well:

http://lua.gts-stolberg.de/en/Tables.php

[import]uid: 52430 topic_id: 9033 reply_id: 32910[/import]