<?php 

$sql = DB::select("SELECT * FROM php_topics_detail where id = '$results'");
$r = $sql[0];
$assets =  $r->file_name;
?>
<iframe src="{{ asset('php/document/A1_BASIC_PHP/'. $assets ) }}" style="width: 100%; height: 510px"></iframe>