I have one array, and it has 10+ indexes.
What I want to do is set variable $table based on the index's, so that it will insert
Array[0] - Array[9] to $table = table1
and it would insert
Array[10] - Array[14] to $table = table2
I don't want to use an if statement because I need them both inserted
I was hoping to keep this all in one query and use $table (if it's possible)
How could I achieve this?