I need to concat the value of $sourceName
with a string.
This code didn't work:
$sourceName = '<p class="description">123'.$query.'</p class="description">';
echo '<div id="listings" class="listings">
<strong></strong> '.$$sourceName.'
</div>';
It can't get $query
value and the variable only stores 123
.
123'.$query.'
` xD - for reference: [Variable variables](http://php.net/manual/language.variables.variable.php) – FirstOne Mar 09 '16 at 13:08