$name = "Marcus Andreas Rory Muntzer";
$shortName = explode(" ", $name);
<td><?php echo $shortName." ".$shortName." ".$shortName." ".$thirdName; ?></td>
Then you would also need to set 'onMouseOut' function so that $thirdName is empty again.