a = {name = hello) --# the variable 'hello' is not defined. (Use as string form "hello") tab = {tabl} --# why define this if you do not use it? table.insert(tabl, a) --# inserts a (Which is just an empty table) to the tabl reference
You could do
tabl.name = "Hello" --# Directly changes the name index of the table to the desired value ("Hello")
That would directly change the tabl reference and add/change the name to the desired string/value.
However I am not entirely sure what your problem is.
I also found a syntax error, which may just be a typo, but who knows
a = {name = hello) ^