Hi George,
Thanks for the info.
Could you perhaps help in showing me exactly where in this script it should go ?
PHP Code:
<tr>
<th class="head_cell">CELL NUMBER</th>
<th class="head_cell">SURNAME, NAME</th>
<th class="head_cell">EMAIL</th>
</tr>
<?php
while($row=mysql_fetch_array($result))
{
?>
<tr>
<td class="result_cell c_align"><?php echo $row['cell_phone'];?></td>
<td class="result_cell back_color">
<option value="<?php echo strtoupper ($row['surname'] . ', ' . $row['name']);?>"><?php echo strtoupper($row['surname'] . ', ' . $row['name']);?></option>
</td>
<td class="cell_other back_color2">
<a href="mailto:<?php echo $row['email'];?>"><?php echo $row['email'];?></a>
</td>
</tr>
<?php
if(!isset($counter[$firstNAsAString])) {
$counter[$firstNAsAString] = 0;
} else {
$counter[$firstNAsAString]++;
$last_surname = $row['surname'];
$i++;
?>
</td>
</tr>
<?php
}
}
?>
</table>