<?php ini_set('memory_limit', '128M'); include 'funcoes.php'; $teste = new TesteDAO(); $data = $teste->royaltie_inativa((isset($_GET['id']) and is_numeric($_GET['id'])) ? $_GET['id'] : 0, date('Y')); echo '<html><head><style> body { margin: 1%; text-align: left; ont-family: Arial; font-size: 14px; } table { font-family: Arial; font-size: 14px; width: 100%; } table thead tr th, table tfoot tr th { font-weight: bold; background: #BBB; text-align: left; } table tbody tr th { font-weight: normal; text-align: left; } th { border: solid 1px #DDD; padding: 5px; }