خرید بک لینک

Vote count: 0

$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.

asked 1 min ago

1 Answer

Vote count: 0

You need to enclose the string in double quotes (and escape the ones inside of the string)

answered just now

برچسب: نویسنده: استخدام کار تاريخ: جمعه 24 ارديبهشت 1395 ساعت: 8:18

صفحه بندی