require_once('cabecalho.php'); $sql = "select c.id, upper(c.categoria) as categoria, c.imagem_on, c.imagem_off from categorias c where coalesce(c.ativo, 0) = 1 and instr(c.codigo, '.') = 0 and (liberacao = 1 or liberacao is null) order by c.codigo"; $res = mysql_query($sql, $conexao); while($row = mysql_fetch_assoc($res)){ $dados[] = $row; } ?>
PRODUTOS |
Home > Produtos |
|
}
?>