Skip to content
This repository was archived by the owner on May 2, 2019. It is now read-only.
/ json2sql Public archive

PHP script that converts a JSON file to a series of SQL INSERT staments

Notifications You must be signed in to change notification settings

hay/json2sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

JSON2SQL

This PHP script converts a JSON file to a series of SQL INSERT staments

Usage

Make this executable

$ chmod u+x json2sql

Then invoke it from the command line like this

$ json2sql tablename myfile.json

The script will automatically write the resulting file as myfile.sql

More info

About

PHP script that converts a JSON file to a series of SQL INSERT staments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages