Login   Register  
PHP Classes

File: exemplo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gustavo de Arruda Paes  >  Simple JSON DB  >  exemplo.php  >  Download  
File: exemplo.php
Role: Example script
Content type: text/plain
Description: Example file
Class: Simple JSON DB
Store and retrieve data from files in JSON format
Author: By
Last change:
Date: 4 years ago
Size: 296 bytes


Class file image Download
require "json.db.php";

$video = new JsonDB();

$video2 = new JsonDB("video.json");
$video2->set("type""vimeo")->set("date"date("Y-m-d H:i:s"))->set("int"18)->save();