Coding

Coding IOS + Swift
IOS + Swift Code: Read Data from Remote Json File
September 6, 2017
0
, ,
My JSON FILE: {"teams":[{ "id": "1", "clubName": "USJF", "isDeleted": "0" }, { "id": "2", "clubName": "Docume", "isDeleted": "0" }, { "id": 3, "clubName": "Chelsea", "isDeleted": 0 }, { "id": 4, "clubName": "Bercelona", "isDeleted": 0 }]} JSON FILE Screenshot: IOS CODE: // // ViewController.swift // HelloJson // // Created by Arifur Rahman Zerin on 9/5/17. // […]
CodeIgniter Framework Coding
CodeIgniter: How To Call A Controller from another Controller
October 2, 2015
0
Suppose you have two controllers file, one is users.php and another one is welcome.php. For some reason, you want to load the a function from users controller from inside the controller welcome. Write the below code in your welcome controller file: $this->load->library('../controllers/users'); $this->users->function_name();