PHP Classes

File: examples/testjsoninsert.php

Recommend this page to a friend!
  Classes of Jorge Castro   PHP File Text One   examples/testjsoninsert.php   Download  
File: examples/testjsoninsert.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP File Text One
Import data from files in CSV or JSON formats
Author: By
Last change:
Date: 2 years ago
Size: 211 bytes
 

Contents

Class file image Download
<?php

use Eftec\FileTextOne\FileTextOne;

include
'../vendor/autoload.php';

$values=[["id"=>"hello","field"=>20],["id"=>"hello","field"=>20]];

$fto=new FileTextOne('json','new.json');

$fto->insert($values);