In PHP, is visible to access variable that is inside another variable? ex : i need to get $value that is inside $output1
if ($nilaineg > $nilainet && $nilaineg > $nilaipos) {
$output1 = '<div class="message"> ' . $tweet . ' </div>
<div class="hasil">'.**$value** .'</div> </div>';
}
else if ($nilaipos > $nilaineg && $nilaipos > $nilainet){
$output2 = '<div class="message"> ' . $tweet . ' </div>
<div class="hasil">'. $value .'</div> </div>';
}