我正在写jasper报告。我正在从数据库中获取html格式的数据。例如:
<html><body><p>A) For <u>active</u> and <b>liquidated</b> <i>commitments</i>, </p>this is sum of <font font-weight=bold>Funded Commitments</font> in USD as of date and Unfunded Commitment in
我被困在这里,需要你的帮助。我有MySQL数据库和HTML,我可以通过那个表单连接到我的数据库,没有任何问题。我所有的按钮(查找、删除、更新和添加)都是工作的,我决定添加perfectly.Now按钮,该按钮应该将检索到的数据导出到xml文件(稍后将转换为pdf文件,但我知道如何处理)。知道该从哪里开始吗??我可以使用什么php函数吗?
实际上,我通过为打印按钮创建函数,然后稍后调用该函数来解决这个问题。一切都很完美。
function printRecords($query){
global $ID, $Name, $Address,$Country, $Ph_number;
$res
我已经创建了一个结构切片和一个切片数组。
type blogs struct {
id int
title string
featured_image string
created_at string
}
并在"xyz“函数中创建了变量:
blog := blogs{}
blogData := []blogs{}
值为:
rows, err := db.Query("SELECT id, title, featured_image, created_at from blogs order