PHP

How to Display Most Popular Posts (Daily)

Submitted by GeePee on
In this project, you will learn how to display most popular posts(daily) and how to display random posts. I have updated my previous project Rating System and View Counter by adding the side bar which displays the Popular Posts(Today) and Random Posts. I also added view_per_day table in MySql for daily views. And as you can see, the posts per page is limited to 5 posts, it's because I put

How To Insert Data in to a MySQLi Database through PHP

Submitted by Yorkiebar on
Introduction: This tutorial will be on allowing users to input data in to an HTML form, and then upload that data to a MySQL database through PHP. HTML: First we need our HTML form. This example will just be for a user to enter their username and email address, we will not do any validation or username checking (to assure no duplicate usernames within our website) as this is not the purpose of this tutorial.

Rating System

Submitted by GeePee on
This is a rating system using jquery and php. The user has an option to choose what rate he/she wants to give on the page. Then, it automatically gets the average page rating. I also used Jrating jquery plugin in creating ajax star rating to configure the corresponding page rate. Hope you learn from this.

Using Base64 Encryption for PHP APIs

Submitted by Yorkiebar on
Introduction: This tutorial is on how to use encryption to transfer data securely, or at least more seucrely than plain text, from a Visual Basic application (or other source) to a PHP API. Why Cryptography? Cryptography should be used for all sensitive information being used in public release applications, or if the data is sent cross-networks.