I need some help. I have a query in php and mysql and I would like to add to this query the option to export the data also to excel. Is it possible to do this with php?
<div id="tabs">
<ul>
<li><a href="#tabs-1">Informação</a></li>
<li><a href="#tabs-4">Trabalhadores</a></li>
<li><a href="#tabs-2">Credenciais</a></li>
<li><a href="#tabs-3">Equipamentos</a></li>
</ul>
<?php
include("conectar.php");
$id = $_GET['id'];
$sql = "select * from TABELAS Where CAMPOS and tb_trabalhador.id = $id order by tb_trabalhador.id asc ";
$qr = mysql_query($sql) or die(mysql_error());
while($exibe = mysql_fetch_array($qr)){
//Todos os dados a serem mostrado