PHP

Login and Register using PDO in PHP

Submitted by nurhodelta_17 on
This tutorial tackles on how to create a simple login and register using PDO extension in PHP. PDO stands for PHP Data Objects and as per official site description, defines a lightweight, consistent interface for accessing databases in PHP. PDO is the most recommended extension nowadays to interact with database because of many features like preventing SQL injections, prepared statements, etc.

SQLite 3 Database Encryption

Submitted by nurhodelta_17 on
This tutorial tackles on how to encrypt data in a sqlite3 database using PHP. SQLite as per site description, is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. The data in this database however are easily access thus, I've created this tutorial as a simple solution.

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.