I have a table I am calling from a database that is printing like so
[
[
"none",
"192.168.1.23",
28960, "Solids Test Server",
151, "none",
"Soliderror"
]
]
I want it to print like so
{servers: [
{
id:"none",
ip:"192.168.1.23",
port:28960,
hostname:"Solids Test Server",
protocal:151,
date:"none",
hidden:"Soliderror"
}
]
}
I want it to show the entire table with the name of the table