$temporaryID = $row->id; //data row ID from table
$concat = "#".$temporaryID; //concatenate it for href
if($x % 2==1){
echo '<li class="featuredNews-li" href="$concat" data-toggle="tab">';
}
?>
Trying to concatenate the # with the data id to put it the href tag.
