Understanding Model-View-Controller (MVC) With Real-World Example

October 19, 2018

I am aware that MVC tutorial has already been existing in many websites. However, most of them only define the topic and technically elaborate(for developers’ level) it. On this article, I will try to make a concise and well-explain guide so that even beginners can easily understand. Let’s get started According to wikipedia, Model–View–Controller is […]

Read more

Tags: ,

Implode vs Explode in PHP

October 15, 2018

As we know, a variable serves as a “container” that holds a value.  It has many types like integer, string, boolean, etc. On the other hand, an array is a special type of variable that holds multiple value at the same time. To display the string value of a variable, we use echo. However, we cannot echo out […]

Read more

Tags: , ,

Multiple Checkbox (PHP Array) with Examples

A checkbox group allows user to select one or more options at the same time. Each checkbox is treated individually, so user can check the status of it either on or off. However, if we select multiple checkbox, it returns only the last item selected by the user after the form has been submitted. In […]

Read more

Tags: ,

Create, Retrieve, Update, Delete (CRUD) in PDO with Multiple Delete

October 3, 2018

This article will show you how to execute CRUD(Create, Retrieve, Update, Delete) in PHP using PDO. The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. When you use PHP for web development, you can use either mysqli or PDO, but, this page will focus on PDO. Pre-requisite Before […]

Read more

Tags: ,

Search form in PHP using mysqli

January 23, 2018

The mysqli extension, or as it is sometimes known, the MySQL improved extension, was developed to take advantage of new features found in MySQL systems versions 4.1.3 and newer. The mysqli extension is included with PHP versions 5 and later. Previously, we used mysql function in manipulating data from our database. But later on, in […]

Read more

Tags: ,

PHP Variables

January 18, 2018

Variables serve as containers where information is stored. In PHP, these are represented by a dollar sign followed by the name of the variable. Consider the rules below: Rules for PHP variables Variables should start with the dollar ($) symbol, followed by the name of the variable. A variable name should not start with a […]

Read more

Tags:

Create, Read, Update, Delete (CRUD) in PHP using mysqli

We usually encounter CRUD whenever we create a database-driven website. We insert data, display, update and delete if necessary. PHP provides different ways/drivers in doing so. For example, you may want to use PDO rather than mysqli. Now, it depends on your convenience. This script will serve as a guide for those developers who want […]

Read more

Tags: , ,

Difference between post-increment and pre-increment in php

November 29, 2017

We used encounter and use increment while doing our php script. But sometimes, we forget how these two increments differ. $x++; //post-increment ++$x; //pre-increment The table below will describe the difference between the two: Name Operator Description Post-increment $x++ Increments $x by one, then returns $x Pre-increment ++$x Returns $x, then increments $x by one […]

Read more

Tags: ,

Dynamic striped table using php

November 13, 2017

The code below will dynamically create a table, with rows and column, using PHP. PHP Code CSS Style

Read more

Tags:

Need of a Website?

Maybe you're planning to build a landing page for your website. You might also have a plan to create a web application. I can offer you with an affordable but with good quality services. Don't hesitate to submit your specifications by clicking the button below.

Get Quote