Ok, I’m not sure how you made it do that but you can try changing the text below (from line 57 onwards).
Change this:
$seatt_output .= '<table width="660" border="0" align="left" cellpadding="1" cellspacing="1">
<tr>
<th width="50" align="center" scope="col">Reg #</th>
<th width="150" align="left" scope="col">Username</th>
<th width="300" align="left" scope="col">Last Name, First Name</th>
</tr>';
$users = $wpdb->get_results("SELECT id, user_id FROM ".$wpdb->prefix."seatt_attendees WHERE event_id = ".$event_id." ORDER BY id ASC");
$num = 1;
foreach ($users as $user) {
$user_info = get_userdata($user->user_id);
$seatt_output .= '
<tr>
<td width="50" align="center">' . $num . '</td>
<td width="150">' . $user_info->user_login . '</td>
<td width="300">' . $user_info->last_name . ', ' . $user_info->first_name . '</td>
</tr>';
$num++;
}
to this:
$seatt_output .= '<table width="660" border="0" align="left" cellpadding="1" cellspacing="1">
<tr>
<th width="50" align="center" scope="col">Reg #</th>
<th width="150" align="left" scope="col">Username</th>
<th width="300" align="left" scope="col">Comment</th>
</tr>';
$users = $wpdb->get_results("SELECT id, user_id, user_comment FROM ".$wpdb->prefix."seatt_attendees WHERE event_id = ".$event_id." ORDER BY id ASC");
$num = 1;
foreach ($users as $user) {
$user_info = get_userdata($user->user_id);
$seatt_output .= '
<tr>
<td width="50" align="center">' . $num . '</td>
<td width="150">' . $user_info->user_login . '</td>
<td width="300">' . $user_info->user_comment . '</td>
</tr>';
$num++;
}
Let me know how you get on.