I am unable to concatenate HERE it would be great if somebody can point out my mistake and let me know what I am doing wrong and how it should be done.
<?php
.
.
while ($query_row = mysql_fetch_assoc($query_run)){
$id=$query_row['id'];
$firstname=$query_row['firstname'];
echo '<a class="profile" href="profile.php?id=<?php echo $id.' ">'ucfirst' ($firstname);?></a>'; // HERE
.
.
.
?>