PHP Classes

File: test/database/delete.php

Recommend this page to a friend!
  Classes of Peter   Storage Class   test/database/delete.php   Download  
File: test/database/delete.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Storage Class
Manipulate data in arrays and store it in files
Author: By
Last change:
Date: 8 years ago
Size: 538 bytes
 

Contents

Class file image Download
<?php
include_once('../../config/config_setting.php');
$config = config_setting::get_config();
$base_path = $config['base_path'];
include_once(
"{$base_path}/database.php");
$database = new database();
$table = array('user');
$role = array(
   
'account' => 'Selina',
   
'password' => '25d55ad283aa400af464c76d713c07ad',
   
'group_id' => '1000',
   
'home' => '/home/Selina',
   
'shell' => '/bin/bash',
   
'is_disabled' => 0
);
$database->table($table);
$database->role($role);
print_r($database->delete());