title: Display contents of tables in lua
body: <p>What I'm trying to do is display the content of table using the following code in Lua. </p>
  
  <pre><code>local people = {
     {
     name = "Fred",
     address = "16 Long Street",
     phone = "123456"
     },
  
     {
     name = "Wilma",
     address = "16 Long Street",
     phone = "123456"
     },
  
     {
     name = "Barney",
     address = "17 Long Street",
     phone = "123457"
     }
  
  }
  for k, v in pairs(people ) do
      print(k, v)
  end
  </code></pre>
  
  <p>The output I got is:  </p>
  
  <pre><code>1   table: 0x9a2d8b0
  2   table: 0x9a2d110
  3   table: 0x9a2cb28
  </code></pre>