PDO

Online Voting System for Student Council Elections using PHP and MySQL with Source Code

Submitted by jaypabs on
The Online Voting System is a web application built with PHP and MySQL for student council, SSG and school organization elections. Voters sign in with their Student ID, fill out an official ballot and get a printable vote receipt. The election officer manages positions, candidates and voters, opens and closes the polls, watches turnout live, and prints the final results with winners and ties

PHP password_hash and password_verify Tutorial: Secure Registration and Login with PDO and MySQL

Submitted by jaypabs on

Almost every PHP project needs a login page: a capstone system, an inventory app, a school portal, an admin panel. And almost every beginner tutorial from ten years ago still saves passwords with md5(). That is the one part of a login system you really cannot get wrong, because if your database ever leaks, weak password hashes turn into real passwords within minutes.

SQL Injection Explained: How to Prevent It in PHP, Python and Node.js with Prepared Statements

Submitted by jaypabs on
SQL injection is one of the oldest web security bugs, and it still shows up in student projects, freelance work and even production apps. The cause is almost always the same line of code: user input pasted directly into an SQL string. The fix is also almost always the same: prepared statements. In this guide you will see what SQL injection looks like, why escaping and "cleaning" input is not

IT Helpdesk Ticketing System using PHP and MySQL with Source Code

Submitted by jaypabs on
The IT Helpdesk Ticketing System is a web application built with PHP and MySQL that lets employees or students report computer problems, and lets the IT team track, assign and resolve each request in one place. Instead of support requests getting lost in chat messages and sticky notes, every issue becomes a numbered ticket with a status, a priority, an assigned technician, and a full conversation

How to Build a Simple REST API in PHP and MySQL Using PDO (CRUD with JSON)

Submitted by jaypabs on

Sooner or later every web project needs to talk to something other than a browser. A mobile app wants to load products, a JavaScript front end wants to save a form without reloading the page, or a classmate's system needs to read your data for a capstone integration. The usual answer is a REST API: a set of URLs that accept and return JSON.

Multi Role Login System Using PHP and MySQL with Source Code

Submitted by rems on
Welcome to the Multi-Role Login System, a sophisticated web application crafted to deliver secure and role-specific access using PHP and MySQL. This dynamic system introduces an innovative approach to user authentication, allowing individuals to log in with distinct roles, such as "Admin" or "User," each with unique privileges. Through a seamless integration of PHP for server-side scripting and

MySQLi vs. PDO: Which PHP Database API Should You Use?

Submitted by rems on
Interacting with databases is crucial in numerous web applications, and PHP, a widely used and adaptable scripting language for web development, is well-suited for this task. In PHP, two commonly favored methods for database interaction are MySQLi (short for MySQL Improved) and PDO (PHP Data Objects). They both provide means to connect with databases, execute queries, and fetch data, but they

PHP CRUD - Joins Two Tables with Free Source Code

Submitted by rems on
In web development, creating efficient and interactive applications is a common pursuit. When dealing with databases, the CRUD (Create, Read, Update, Delete) operations are fundamental for managing data. Often, data is distributed across multiple tables, necessitating JOIN operations to retrieve and manipulate information comprehensively. This project will guide you through building a dynamic PHP

Preventing SQL Injection in PHP Tutorial

Submitted by oretnom23 on

Introduction

In this tutorial, I will teach you how to Prevent SQL Injection in writing your PHP Queries for your current and future PHP Projects. This tutorial aims to give the IT/CS Students or those new to PHP Language a reference to learn for securing their database data in PHP. Here, I will be providing some snippets with a sample source code that demonstrates our topic for this tutorial.

Online Employee Leave Management System in PHP Free Source Code

Submitted by oretnom23 on
Introduction This project is entitled Online Leave Management System. This is a web-based application project developed in PHP and MySQL Database. The main goal of this project is to provide the certain Company to manage their employees' leave requests. This is also helpful to the employees as an easy way of submitting their leave requests. The application has a pleasant user interface using