Well, I'm having trouble displaying data from a database using 3 tables.
<?php
include("conectar.php");
$quantidade = 1;
$pagina = (isset($_GET['pagina'])) ? (int)$_GET['pagina'] : 1;
$inicio = ($quantidade * $pagina)-$quantidade;
$sql = "Select * From tb_trabalhador order by id asc LIMIT $inicio, $quantidade";
$qr = mysql_query($sql) or die (mysql_error());
while($exibe = mysql_fetch_array($qr)){
I have 2 more tables to display the data that is there. I just ran the test with two tables and it also does not display the entered data.
SELECT * FROM tb_trabalhador
INNER JOIN tb_detalhe_trabalhador ON Tb_trabalhador.id =tb_detalhe_trabalhador.tb_trabalhador_id;
I tried the Left and Right and displays the data of the respective tables. Can you help me with this problem?