PHP Classes

File: exemplo.php

Recommend this page to a friend!
  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: 12 years ago
Size: 296 bytes


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

$video = new JsonDB();
$video->set("type", "youtube")->set("url", "")->save("video.json");

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


For more information send a message to info at phpclasses dot org.