Tutorials

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

Submitted by nurhodelta_17 on
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.

How to Set Up Expiration to Sessions using PHP

Submitted by nurhodelta_17 on
In this tutorial I'm going to show you how to set up expiration on PHP sessions. I have created a simple login in this tutorial but if you prefer, may also learn Login with Validation in my previous tutorial. This tutorial will not give you a good design but will give you an idea in setting up session and expiry in PHP.

Creating our Login Form and Login Script

First, we create our login form with the login script.

Adding and Deleting Item(s) in Array using PHP

Submitted by nurhodelta_17 on
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.

Basic Array Functions in PHP

Submitted by nurhodelta_17 on
In this tutorial, I'm going to show you the basic functions in working with array in PHP. I'm going to post tutorials about arrays, so this tutorial is the starting line. An array is a data structure that stores one or more values into a single value. It is useful in defining large number of variables like having 50 variables. Instead of declaring 50 of them, you can store this 50 values into a single variable.

Creating our Functions

The first and last step is to create our page with our functions. I've also included in the comments the definition of each function.

Python - Simple CRUD With Django Framework

Submitted by razormist on
In this tutorial we will create a Simple CRUD With Django Framework. Django is an advanced Web framework written in Python that makes use of the model view controller (MVC) architectural pattern. The official project site describes Django as "a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

A Simple Password Generator Using Django With jQuery

Submitted by razormist on
In this tutorial we will create a Simple Password Generator With jQuery using django web framework. Django is a free and open source web application framework, written in Python. The official project site describes Django as "a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

One of the simplest way to create websockets chat with php

Submitted by Виктор Трапенок on
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.

Simple Animated Text Using HTML/jQuery

Submitted by razormist on
In this tutorial we will create a Simple Animated Text Using jQuery. The 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. Creating the Mark Up To display the animated text will need to create the mark up language, to do that open any kind of text editor(notepad++, etc).

Python - How To Use DataTables With Django

Submitted by razormist on
In this tutorial we will try to use jQuery DataTables With Django Web Framework. Django is an advanced Web framework written in Python that makes use of the model view controller (MVC) architectural pattern. The official project site describes Django as "a high-level Python Web framework that encourages rapid development and clean, pragmatic design.