db->query($sqlApp)->result(); foreach($resultaApp as $therow) : $vend_app = $therow->vend_app; $vend_link = $therow->vend_link; $app_link = $therow->app_link; $foot_name = $therow->foot_name; $version = $therow->version; $year = $therow->year; endforeach; ?>