I would like to pull the data from my db. But I do not know how to connect, it already has the configuration file, but I do not know how to pull it to use it.
Connection file:
<?php
define('BD_USER', 'root'); // USE O TEU USUÁRIO DE BANCO DE DADOS
define('BD_PASS', 'oi'); // USE A TUA SENHA DO BANCO DE DADOS
define('BD_NAME', 'painel2'); // USE O NOME DO TEU BANCO DE DADOS
mysql_connect('localhost', BD_USER, BD_PASS);
mysql_select_db(BD_NAME);
HTML code:
<div class="slide">
<div style="background-image: url('');">
<li><a href="#">Titulo</a>
</li>
</div>