PHP Classes
elePHPant
Icontem

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Lars Moelleken  >  Simple MySQLi Class  >  tests/bootstrap.php  >  Download  
File: tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Simple MySQLi Class
MySQL access abstraction layer using MySQLi
Author: By
Last change: [*]: fix only a comment in the test-"bootstrap.php" file
Date: 5 months ago
Size: 396 bytes
 

Contents

Class file image Download
<?php

error_reporting
(E_ALL);
ini_set('display_errors', 1);

require_once
__DIR__ . '/Foobar.php';
require_once
dirname(__DIR__) . '/vendor/autoload.php';

/*
CREATE DATABASE mysql_test;
USE mysql_test;
CREATE TABLE test_page (
  page_id int(16) NOT NULL auto_increment,
  page_template varchar(255),
  page_type varchar(255),
  PRIMARY KEY (page_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
*/