If we have 3 arrays for example:
Array= a, b, c.
Array2= 1, 2, 3
Array3= 0, 4, 5
I want to insert them in to my sql table like this
A 1 0
A 2 4
A 3 5
B 1 0
B 2 4
B 3 5
C 1 0
C 2 4
C 3 5
All second and third array values will be stored with each and every value of first array.
How can i do that? Using php and sql
Itterate first array by value, inside this loop itterate second array by index, take values from second and third array by this index: