Thanks so much! That worked perfectly. (just to note I pasted the code before I had inserted the comma and space, which was as below, but yours solved my comma-at-the-end issue:)
<div id="tags">
<p><?php
$posttags = get_the_tags();
if ($posttags) {
foreach($posttags as $tag) {
echo $tag->name . ', ';
}
}
?></p>
</div>