Skip to main content

Tutorials

How to Create Login Page in PHP/MySQL

Yesterday I posted a tutorial on how to create a registration page using PHP/MySQL. To make some follow up with my registration page tutorial, I decided to create another tutorial on how to create a login page using PHP/MySQL. The Features of my login page contain input validation using PHP session. One unique feature also with my login page is the logout function, it is unique because unlike with

How to Calculate Salary of Employee with Taxable Amount in Python

This is a simple program to calculate salary of employee with taxable amount in Python. The program requires the name of the employee, name of the company, salary of the employee. It will then calculate based on 20% tax rate. If the employee’s salary falls below 10,000, then the employee is not taxed. Else the employee is taxed with 20% deduction. emp_name = input("Enter the name of the Employee: