Loading data from local file to database(RHOM)
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 […]