PHP Classes

File: tests/dbCreate.php

Recommend this page to a friend!
  Classes of Ali YILMAZ   Mind Framework   tests/dbCreate.php   Download  
File: tests/dbCreate.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: 1 year ago
Size: 366 bytes
 

Contents

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

$Mind = new Mind();

echo
'<br>';

if(
$Mind->dbCreate('mydb')){
    echo
'The database has been created.';
} else {
    echo
'The database could not be created.';
}

echo
'<br>';

if(
$Mind->dbCreate(array('mydb', 'mydb1'))){
    echo
'The database has been created.';
} else {
    echo
'The database could not be created.';
}