PHP Classes

File: src/_core.php

Recommend this page to a friend!
  Classes of Max Base   PHP Corona Virus Database   src/_core.php   Download  
File: src/_core.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Corona Virus Database
An API to lookup information about Corona Virus
Author: By
Last change:
Date: 4 years ago
Size: 288 bytes
 

Contents

Class file image Download
<?php
if(!defined("BASE")) {
    exit();
}
require_once
"_phpedb.php";
$db=new database();
$db->connect("localhost", "root", "****");
$db->db="corona2";
$db->create_database($db->db, false);
function
display($array) {
   
header("Content-Type: application/json");
    exit(
json_encode($array));
}