I am trying to build an SQL statement like this:
INSERT INTO mytable(`People`, `Places`, `Ideas`)
VALUES ('40', '15', null),
(null, '5', '10'),
('10', null, '11');
We have three arrays with following values....
$people = array('45','null','10');
$places = array('15','5','null');
$ideas = array('null','11');
How can I build the corresponding SQL Query from my array?