PHP Classes

File: tests/columnDelete.php

Recommend this page to a friend!
  Classes of Ali YILMAZ   Mind Framework   tests/columnDelete.php   Download  
File: tests/columnDelete.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: 379 bytes
 

Contents

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

$Mind = new Mind();

echo
'<br>';

if(
$Mind->columnDelete('users', 'password')){
    echo
'Sütun kald?r?ld?.';
} else {
    echo
'Sütun kald?r?lamad?.';
}

echo
'<br>';

if(
$Mind->columnDelete('users', array('username', 'avatar', '_token'))){
    echo
'Sütunlar kald?r?ld?.';
} else {
    echo
'Sütunlar kald?r?lamad?.';
}