foreach into mysql table
I want to upload the results of an array into a DB table.  

    foreach ($f_list as $list) {
       echo '<a href="http://facebook.com/'.$list['id'] . '"><br>';
       echo $list['name'] . '</a><br>';
     }

I want the name and UID to upload into my db.  How can i accomplish this with a foreach method?
foreach into mysql table
===

I want to upload the results of an array into a DB table.  

    foreach ($f_list as $list) {
       echo '<a href="http://facebook.com/'.$list['id'] . '"><br>';
       echo $list['name'] . '</a><br>';
     }

I want the name and UID to upload into my db.  How can i accomplish this with a foreach method?