Location: PHPKode > scripts > Simple SQL Transact > simple-sql-transact/example2.php
<!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>
Return current item: Simple SQL Transact