PHP Tutorial

How to Set up Expiration on MySQL Row in PHP/MySQLi

This tutorial will show you how to set up expiration on mysql row in PHP/MySQLi. In this tutorial, I've set up to update the expired row but in case that you wanted to delete the row, I've added the delete code in the comment. So feel free to switch it. This tutorial also has two mysqli methods that I've included in the comments as well so you can switch between them.

Creating our Database

I've created a sample database that we are going to use in this tutorial. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as "expiration". 3.

Adding and Deleting Item(s) in Array using PHP

In my previous tutorial, I've created the Basic Array Functions. To follow up the tutorials about array, I've created another which will give you knowledge on how to add and delete item/s in array. This tutorial does not include a good design but will give you idea on the topic.

Creating our Form and Script

We create our add form, delete form and our scripts in adding and deleting items. To create the page, open your HTML code editor and paste the code below after the tag.

One of the simplest way to create websockets chat with php

I want to tell you about my Open Source project of comet server. It simplifies the process of creating chat and notifications for the site. The CppComet takes care of all the work of maintaining websocket connections and give simple api for sending messages from backend to frontend by websockets. CppComet is written in C++ and can handle many simultaneous connections.

PHP - Simple Login With Remember me Script

In this tutorial we will create a Simple Login Script With Remember me Feature. PHP is a server-side scripting language designed primarily for web development. Using PHP, you can let your user directly interact with the script and easily to learned its syntax. It is mostly used by a newly coders for its user friendly environment. So Let's do the coding. Before we started: First you have to download & install XAMPP or any local server that run PHP scripts.

PHP - How To Delete A Multiple Data Using jQuery

In this tutorial we will try to create a Simple Multiple Deletion Using jQuery. jQuery is a fast, reliable kind of cross-platform javascript library. It is designed to simplify the traditional way of coding in javascript. So let's now do the coding. Before we started: First you have to download & install WAMPserver or any local server that run PHP scripts.

PHP - Live CRUD Operation In HTML Table

In this tutorial we will create a Simple Live CRUD Operation In HTML Table Using PHP/jQuery. jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML. It is designed to make it easier to navigate a document, via classes and id's attribute. So let's now do the coding... Before we started: First you have to download & install WAMPserver or any local server that run PHP scripts.

AngularJS CRUD Operation With PHP/MySQLi - Part 2

In this tutorial we will try to do the AngularJS CRUD (Delete, Update) Operation with PHP/MySQLi. In my previous tutorial we already tackle the (create and update) on AngularJS, this time will continue on and try to finish the project. We already created the database and the database connection, we will just add some method to the AngularJS directives and PHP script to make our project more interactive.

AngularJS CRUD Operation With PHP/MySQLi - Part 1

In this tutorial we will use AngularJS for CRUD (create, read) Operation with PHP/ MySQLi as a backend development. AngularJs is widely used in developing modern website because of its easy syntax construct and convenient in time developing. It is a library from javascript that compressed and simplified into a whole new level of programming technique. By the way this tutorial is consist of two parts,for we will tackle only about create and select on AngularJS with PHP database. So let's see how its done.

Simple Date Range Search Using PHP/Ajax

In this tutorial we will try to create a search function based on the two date range using Ajax. Ajax is a client-side script that communicates to server without the need for a complete page refresh. By using ajax It let's your website more interactive to the user. Most of the function in facebook uses ajax, that's why it is very convenient to use. Now that we know how about ajax, let's start coding. Creating the database In creating a database we just need a program to make a database worked (wamp, xamp, etc..).

Simple Image Upload Using AngularJS/PHP

In this tutorial we will create a Simple Image Upload Using AngularJs/PHP. AngularJS is a structural framework for dynamic web apps. It is a kind of template that extends HTML to a new level of coding techniques. By using angularjs will try also to save the image through PHP server. So Let start coding!! Creating Database To create database open your local server(wamp, xamp, etc...). Then create a database and name it "db_image".