I\'m trying to insert in array that looks like:
$prices = array(array(\'event_id\' => 1, \'event_price_type\' => 5, \'event_price\' => 5, \'event_price
$prices = array(
array('event_id' => 1, 'event_price_type' => 5, 'event_price' => 5, 'event_price_currency_id' => 1, 'event_price_info' => 'aaaa'),
array('event_id' => 1, 'event_price_type' => 8, 'event_price' => 7, 'event_price_currency_id' => 1, 'event_price_info' => 'bbbb'),
array('event_id' => 1, 'event_price_type' => 1, 'event_price' => 8, 'event_price_currency_id' => 1, 'event_price_info' => 'cccc')
);
i changed the typo, now I don't get an error but when i look at mysql there is only 1 row inserted:
event_id , price_type, price, price_currency, price_info;
0, 0, 0, 0, cccc;
where it has to be:
event_id , price_type, price, price_currency, price_info;
1, 5, 5, 1, aaaa;
1, 8, 7, 1, bbbb;
1, 1, 8, 1, cccc;