PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Afif Ahmad Hidayat   PHP CSV Manipulation   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: PHP CSV Manipulation
Load and edit data in CSV files
Author: By
Last change: change file path
Date: 8 years ago
Size: 207 bytes
 

Contents

Class file image Download
<?php
include_once "CSV_Data.php";
$data = new CSV_Data(dirname(__FILE__).'/coba.csv');
echo
$data -> get("en_US", "code1");
//edit data
$data -> edit("en_US", "code1", "Data Edited");
$data -> save();