Do you just want to echo $name in a DIV with that id?
<div id="rightcolumn">
<?php echo $name; ?>
</div>
or
echo '<div id="rightcolumn">'.$name.'</div>';
One minor problem I think, is that you have defined the style as an id element by using #, but you're using it as a class element.
hth, Nick M