PHP Classes

File: CliExe.php

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

Contents

Class file image Download
<?

include "objCli.php";

$cli = new obj_cli();

$cli->setId($_POST['cli_id']);
$cli->setNome($_POST['cli_nome']);

switch (
$_POST['opt']){
case
"Pro":
 
$cli->ProcuraCli();
  break;
case
"Inc":
 
$cli->IncluiCli();
  break;
case
"Alt":
  break;
case
"Exc":
 
$cli->ExcluiCli();
  break;
}

echo
'<SCRIPT LANGUAGE="javascript" TYPE="text/JavaScript">parent.location.reload();</SCRIPT>';


?>