I would like to pull some information from my database called " site ", inside it would connect to the table: " posts " and in it wanted to show information such as: id, updated, title, description, link, image "with a limit of 3 and fit into my code. I'm using codeigniter.
<div class="blog-item col-md-4 col-sm-6 mb-30" style="position: absolute; left: 0px; top: 0px;">
<article class="post-wrapper">
<div class="thumb-wrapper">
<a href="blog-single-fullwidth.html"><img src="link da imagem.jpg" class="img-responsive" alt=""></a>
</div><!-- .post-thumb -->
<div class="blog-content">
<div class="case-studis-border"></div>
<header class="entry-header-wrapper">
<div class="entry-header">
<div class="entry-meta">
<ul class="list-inline">
<li>
<a href="Link">DATA</a>
</li>
</ul>
</div>
<h2 class="entry-title"><a href="link">Título</a></h2>
</div><!-- /.entry-header -->
</header><!-- /.entry-header-wrapper -->
<div class="entry-content">
<p>Descrição</p>
<a href="link">ler mais</a>
</div><!-- .entry-content -->
</div><!-- /.blog-content -->
</article>
</div> <!-- /.col-md-4 -->