Pagination is the most required feature in the web application. Generally, pagination is useful when data is retrieved from the database and listed in the web page. Pagination in data list is mandatory when you need to list the huge data. If your web application built with CodeIgniter framework, it's very easy to implement pagination in the data list. CodeIgniter provides Pagination class to create pagination links for the results set.
Generally, a hyperlink is used to link a PDF document to display in the browser. HTML anchor link is the easiest way to display a PDF file. But if you want to display PDF document on the web page, PDF file need to be embedded in HTML. The HTML embed tag is the best option to embed PDF document on the web page. Using parameters in URL, you can specify exactly what to display and how to display PDF document.
Cropping image before upload, always a great idea for server space optimization. Crop feature helps to resize the image as per the required size. You can also reduce the web page size and load time by showing the exact size image. If your web application has image upload functionality, image crop and resize are very useful. Use imgAreaSelect plugin to live crop and resize the image using jQuery and PHP.
RESTful web service uses HTTP request to GET, PUT, POST and DELETE data across platforms. In present days, RESTful API is an essential component of the web application. When the CodeIgniter application requires communicating with another application, RESTful API is needed to integrate into CodeIgniter. Using RESTful API in CodeIgniter, you can exchange data between different applications.
CRUD operations are the most required functionality for every CodeIgniter application. CRUD operations are commonly used to manipulate data in the database. It helps to implement Add, Edit, Update and Delete functionality in CodeIgniter framework. This tutorial will show you how to create a simple CRUD application in CodeIgniter with MySQL to perform create (insert), read (select), update, and delete operations.
Geographical location can be tagged with the photograph by geotagging. Generally, the latitude and longitude are assigned to the image to geotagged photograph. Geotagging is done by two ways, automatic or manual. There is an easy way to get Geotag data from the image using PHP. You can get the latitude and longitude where the picture was taken using PHP and mark the geolocation on Google map.
Pagination is a common functionality used almost every web application. When the huge data need to be retrieved from the database, it's not a good idea to display all result on one page. In that case, we can divide the records into pages instead of showing all at once. PHP Pagination class allows to paging data into pages and generates links to get data from MySQL database.
CRUD stands for Create, Read, Update and Delete. CRUD operations are commonly used to manipulate data in the database. Almost, all web application used Add, Edit, Update and Delete functionality for managing data. This tutorial will show how you can create a simple PHP CRUD application with MySQL to perform create (insert), read (select), update, and delete operations using MySQLi Extension and OOP.
Join our 75,000+ subscribers and get the latest tutorials and resources, straight to your inbox.