Let's say I have 5 arrays generated like so:
$MyArr = array();
for($i = 0; $i < 15; $i++){
$data[] = array(
'title' => 'Title',
'description' => 'Description',
'created_on' => 'Time'
);
}
How can I insert each iteration of the generated array into my MySQL
database table?
UPD. I'm using mysqli_connect();
function to connect to my database (I've followed tutorial on W3Schools website (Procedural).