本文整理汇总了PHP中DataGrid::printar方法的典型用法代码示例。如果您正苦于以下问题:PHP DataGrid::printar方法的具体用法?PHP DataGrid::printar怎么用?PHP DataGrid::printar使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataGrid
的用法示例。
在下文中一共展示了DataGrid::printar方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<style>
.fila {font-family: 'Asap',sans-serif;;font-size:10pt;color:#666;text-decoration:none;}
.normaln {font-family: 'Asap',sans-serif;;font-size:10pt;color:#666;font-weight:bold;text-decoration:none;}
.cabecera:hover {text-decoration:underline;}
.normalo {font-family: 'Asap',sans-serif;;font-size:10pt;color:#666;font-weight:bold;text-decoration:none;}
.normalon {font-family: 'Asap',sans-serif;;font-size:10pt;color:#666;font-weight:bold;text-decoration:none;}
.normalr {font-family: 'Asap',sans-serif;;font-size:10pt;color:#FF0000;font-weight:bold;text-decoration:none;}
.normalp {font-family: 'Asap',sans-serif;;font-size:8pt;color:#666;text-decoration:none;}
.normalpo {font-family: 'Asap',sans-serif;;font-size:9pt;color:#666;font-weight:bold;text-decoration:underline;}
.normalmini {font-family: 'Asap',sans-serif;;font-size:6pt;color:#666;text-decoration:none;}
.pie {font-size:10pt;color:000000;font-family: 'Asap',sans-serif;;text-decoration:none}
.enlace {font-family: 'Asap',sans-serif;;font-size:10pt;color:#666;text-decoration:none}
.enlace:hover {text-decoration:none;}
.enlacen {text-decoration:none;font-family: 'Asap',sans-serif;;font-size:10pt;font-weight:bold;color:#666;}
.sub {font-family: 'Asap',sans-serif;;font-size:11px;color:#666;font-weight:bold;text-decoration:underline;}
</style>
</head>
<body>
<?php
require_once 'DataGrid.php';
$query = "select AVDESA as Actividad,ecdesc as Descripcion,ecdate as Fecha,cndesc as Canal, def.*\n from def,pfcfunc,pfcanal,PFACTIV\n where attipo=ectipo and atcicl=eccicl and atfunc=ecfunc and cncanal=atcanal and ECACTV=AVCODI\n and AVFLG1='E'\n order by ECACTV,ecdesc,attipo,atcicl,atfunc,atcanal";
DataGrid::printar($query);
?>
</body>
</html>