Login   Register  
PHP Classes
elePHPant
Icontem

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of agus hariyanto  >  Simple SQL Transact  >  example2.php  >  Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: example
Class: Simple SQL Transact
MySQL database table records access wraper
Author: By
Last change:
Date: 10 years ago
Size: 682 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="main.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?php
    
include_once('db.php');
    
$data=new DB();
    
$data->TArray('ds_kd','05050505',0);
    
$data->TArray('ds_nm','Agus H',1);
    
$data->TArray('ds_stat','1',2);
    
$data->ins_record('t_dosen');
    
//$data->ClearTArray();
    //$data->upd_record('t_dosen',"ds_kd='04040404'");
    //$data->ClearTArray();
    //$data->del_record('T_dosen',"ds_kd='05050505'");
    
?>    
</body>
</html>