1
I would like to pull the data from my db. But do not know how to connect, already have the configuration file, but do not know how to pull to use .
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>
Has the image of the structure of my db: http://i.imgur.com/8aTZIi1.png
– Paulo Cavalcante
Enter the code of the tbm configuration file. is using mysqli or Pdo?
– rray
It’s a new project?
– rray