pues pon un boton x, q te lleve a una pagina web q te muestre la info, un ejemplo seria:
ejemplo.php Cita: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<label>
<input type="button" name="Submit" value="Botón" onclick="document.location='otro.php'"/>
</label>
</form>
</body>
</html>
y lo pasa a:
otro.php Cita: <? header('Content-type: application/vnd.ms-excel');
header("Content-Disposition: attachment; filename=consulta_gral.xls");
header("Pragma: no-cache");
header("Expires: 0");?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
</head>
<body>
<table width="241" border="1">
<tr>
<td width="142">hola</td>
<td width="83">como tas? </td>
</tr>
<tr>
<td>soy</td>
<td>dcreate</td>
</tr>
</table>
</body>
</html>
en el segundo muestro una tabla en excel q muestra 4 celdas, eso es lo q hago, espero y si te ayude