php

Email Subscription List (2 - Sending Emails) in PHP/HTML

Submitted by Yorkiebar on
Introduction: This is a second part to my previous tutorial - 'Creating an Email Subscription List in PHP/MySQLi', found here; http://www.sourcecodester.com/tutorials/php/7813/email-subscription-list-phphtml.html Mail Function: Before we can begin with our actual email subscription email sending script, we need to know exactly how we are going to be sending our emails. Luckily enough, there is a built in function in to PHP called 'mail', guess what it does...

Email Subscription List in PHP/HTML

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create a simple email subscription service - part 1 - allowing the user to enter their email address. HTML: Before we can process any information the user enters and then add it to our database of email subscription addresses, we need to take the information from the user - for this we need a simple HTML form.

File I/O in PHP

Submitted by Yorkiebar on
Introduction: This tutorial is on how to perform file I/O in PHP. I/O? I/O stands for Input/Output, and means writing/reading to/from files on the system. PHP Tags: First we need three things; The file you want to write the contents to - this can be pre-existing, or not. The contenst to write to the file. The default PHP tags, ready to write our PHP code. Here are the PHP tags, in which we will write our code...

Add/Remove Form Fields

Submitted by GeePee on
This project will teach you how to add more form fields using javascript. I have example form inserting personal info including spouse, and children's name. In children's section, the user has an option to add another form field to filled up. By clicking the + button, it will automatically add form fields. Hope you learn from this.

jQuery Datatables

Submitted by GeePee on
In this project, you will learn how to use data table jquery plugin. Just add the data table plugin in your project and with a single javascript code, data tables can be initialized. This will enhance the accessibility of data in html tables. Hope you learn from this.

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.