PHP Tutorial

How to Highlight Matched Keyword in Search using PHP

Submitted by nurhodelta_17 on
In this tutorial, you will learn on how to highlight matched search keyword using PHP. For the users to be aware why a certain result match to a searched keyword, we need a functionality that highlights matched word to the keyword. In this tutorial, I'm going to use preg_filter() function in order to achieve that functionality.

How to Get the Height and Width of Uploaded Image using PHP

Submitted by nurhodelta_17 on
In this tutorial, you will learn on how to get the size or the height and width of uploaded image using PHP with getimagesize() function. For instance that we wanted to have a server-side validation on upload image before uploading it, getimagesize() function will surely help you out.

How to Limit Characters to Display in a String using PHP

Submitted by nurhodelta_17 on
This tutorial tackles on how to limit characters to display in a string using PHP. In development, there are instance that the length of the string to be displayed is extremely long and destroys our layout. So, in order to solve this, we need to limit the characters to be displayed.

How to Generate URL-encoded Query String using PHP

Submitted by nurhodelta_17 on
This tutorial tackles on how to generate url-encoded query string using PHP. You can build your query strings manually but there is a recommended way to build query string which is the use of PHP's http_build_query() function. This function will help you build url-encoded query string.

How to Create a SEO Friendly URL in CodeIgniter

Submitted by nurhodelta_17 on
This tutorial tackles on how to create a SEO Friendly URL in CodeIgniter. SEO stands for Search Engine Optimization which is the practice of increasing the quantity and quality of traffic to your website through organic search engine results. In order for your site to gain higher rank in web search engines, you need to optimize your site's URL and this tutorial will help you achieve that in CodeIgniter.

Dynamic Dropdown Menu using Bootstrap 4 in CodeIgniter

Submitted by nurhodelta_17 on
This tutorial tackles on how to create a dynamic dropdown menu in CodeIgniter using Bootstrap 4. CodeIgniter is a lightweight PHP framework that uses MVC(model-view-controller) architecture. Bootstrap 4 is currently the latest version of Bootstrap that has several changes than the later version.

How to Create a Dynamic Dropdown Menu using PHP/MySQLi and Bootstrap 4

Submitted by nurhodelta_17 on
This tutorial tackles on how to create a dynamic dropdown menu using PHP with MySQLi-OOP and Bootstrap 4. Currently, the latest version of Bootstrap is 4 and has several changes from the later version. We are going to use Bootstrap 4's nav tag to create our menu where we put dynamic content in the dropdown.

CRUD Operation on JSON File using PHP

Submitted by nurhodelta_17 on
This tutorial tackles on how to CRUD(create, read, update and delete) which is also the same as show, add, edit and delete on JSON file using PHP. JSON stands for JavaScript Object Notation and has an extension of .json which is a syntax for storing and exchanging data. JSON is a text, which is used in exchanging data between a browser and a server.

How to Create a Paypal Sandbox Account for Paypal Integration Development

Submitted by nurhodelta_17 on
This tutorial tackles on how to create a paypal sandbox account for paypal integration development. Paypal sandbox accounts are development accounts that you can use if you wanted to test the integration of paypal payment in your web/ecommerce app.

PHP - Upload and Download File Application

Submitted by razormist on
Learn on how to create a Upload and Download File Application using PHP. PHP is a server-side scripting language designed primarily for web development. It is a lean and consistent way to access databases. This means developers can write portable code much easier. It is mostly used by a newly coders for its user friendly environment.