Create, Read, Update and Delete in Codeigniter

Views: 4088 Codeigniter follows MVC pattern So, Here we will create separate pages for Model, View & Controllerfor Model, the page name will be Model_modulename.php Ex: Model_banner.php Respectively for Controller, page name will be Modulename.php Ex: Banner.php For views we will create multiple pages separately for Add, Edit and View .The names will be view_banner_add.php, view_banner_edit.php & view_banner_view.php […]

How to import large sql file in XAMPP ? – MySQL Dump

Views: 290We will use Command-Line Tools (Shell) to import large database SQL file. 1. Open the XAMPP Control Panel Make sure Apache and MySQL are running and click the Shell button in the XAMPP Control Panel. 2. To import database, use the following command Where: username – your MySQL username. e.g. root database_name – database name you are […]

CRUD using PHP, MySQL & Rest API for Android

Views: 88 URL Method Parameter http://192.168.101.1/HeroApi/v1/Api.php?apicall=createhero POST name, realname, rating, teamaffiliation http://192.168.101.1/HeroApi/v1/Api.php?apicall=getheroes GET http://192.168.101.1/HeroApi/v1/Api.php?apicall=updatehero POST id, name, realname, rating, teamaffiliation http://192.168.101.1/HeroApi/v1/Api.php?apicall=deletehero&id=idvalue GET Ref : https://www.simplifiedcoding.net/android-mysql-tutorial-to-perform-basic-crud-operation/ Sample Code : Download Source