" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Loading data from local file to database(RHOM)

Posted on November 23rd, 2015 by Prangya Das

First create a text file (let’s say data.txt) under the Public folder of the App where to write the sample data in JSON format.. Now write the sample data in the json format in the data.txt as follows. [ {“bookName”: “Learning MySQL”, “bookAuthorName”: “Seyed M.M. (Saied) Tahaghoghi”}, {“bookName”: “PHP Cookbook: Solutions and Examples for PHP […]