I am little confuse about to insert the array element in mysql
i have a array as following
$a = array(
'1' => 'a',
'2' => 'b',
'3' => 'c',
'4' => 'd',
'5' => 'e'
'6' => 'f'
);
and i have a table field id1,id2,...may be
id1 id2
a b
c d
e f
can any one help me out with php code.