assuming table named tl_formdata_details is where you will pull data from..
you can put emails in an array , and firstnames in another array.
then you can form another array with required formatting.
<?php
$fnames = array('user1', 'user2', 'user3');
$emails = array('user1@email.tld', 'user2@email.tld', 'user3@email.tld');
$result = array();
for($i=0;$i<count($fnames);$i++) {
$result[] = array(
'EMAIL' => $emails[$i],
'FNAME' => $fnames[$i],
'LNAME' => 'CHIMP '.$i);
}
echo '<pre>';
print_r($result);
echo '</pre>';
?>
there must be another way to achieve this. just some idea..