PHP Classes

File: frmCliGrid.php

Recommend this page to a friend!
  Classes of Joćo Coimbra  >  PHP Database HTML Table and Form Generator  >  frmCliGrid.php  >  Download  
File: frmCliGrid.php
Role: Auxiliary script
Content type: text/plain
Description: Grid part
Class: PHP Database HTML Table and Form Generator
Generate HTML grids and lists from database data
Author: By
Last change:
Date: 2 years ago
Size: 582 bytes


Class file image Download
include "objDB.php";
$grd = new obj_grid();
$sql = "SELECT cli_id, cli_nome FROM obj_cli ORDER BY cli_nome";
$grd->setTitulo(" Cliente ");

<LINK REL="stylesheet" TYPE="text/css" HREF="obj.css">
<SCRIPT Language="Javascript">
  function Sele(inCliId, inCliNome){
    parent.Corpo.frmCli.cli_id.value = inCliId;
    parent.Corpo.frmCli.cli_nome.value = inCliNome;