<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Test Database Class</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
require_once 'class.database.php';
$dbObject=new database('yourDatabaseName','yourDBUserName','yourDBPassword');
$var=array();
$var['table_name']='finance';
$var['conditionArray']=array(
'type'=>'b,w'
);
$var['conditionCut']='b';
$var['conditionType']='or';
$var['conditionArrayType']='skmv';
$result=$dbObject->dB_sknife($var);
var_dump($result);
?>
</body>
</html>
|