PHP Classes

File: tests/tableClear.php

Recommend this page to a friend!
  Classes of Ali YILMAZ   Mind Framework   tests/tableClear.php   Download  
File: tests/tableClear.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mind Framework
Framework that implements several design patterns
Author: By
Last change:
Date: 2 years ago
Size: 333 bytes
 

Contents

Class file image Download
<?php
require_once ('../src/Mind.php');

$Mind = new Mind();

echo
'<br>';

if(
$Mind->tableClear('phonebook')){
    echo
'Tablo temizlendi.';
} else {
    echo
'Tablo temizlenemedi.';
}

echo
'<br>';

if(
$Mind->tableClear(array('categories', 'users'))){
    echo
'Tablolar temizlendi.';
} else {
    echo
'Tablolar temizlenemedi.';
}