Web Programming with PHP
21
Creating a Database
Course
Introduction
Project: miniFacebook
XAMPP
New HTML5 Elements
First Web Pages of the Project
Basic Syntax
Including one File into another File
Web Page Template
Variables, constants, expressions, and operators
Variable Exercises
Control Structures
Syntax Exercises
Arrays
Array Exercises
Predefined Variables
Getting Data from a Web Form
Example of Getting Data from a Web Form
Users Validation against an Array
Hashing a String
Storing Passwords Securely
Creating a Database
Accessing a Database
Database Connection Library
Users Validation against a Database
Inserting Data Into a Database
Registering a New User
Keeping Users' Information Through Web Pages
Checking if User Is Logged
Security of Web Applications
Donwload Project miniFacebook
Lessons
Introduction
New HTML5 Elements
Basic Syntax
Including one File into another File
Variables, constants, expressions, and operators
Control Structures
Arrays
Predefined Variables
Getting Data from a Web Form
Example of Getting Data from a Web Form
Hashing a String
Creating a Database
Accessing a Database
Inserting Data Into a Database
Keeping Users' Information Through Web Pages
Security of Web Applications
Exercises
Variable Exercises
Syntax Exercises
Array Exercises
Project
Project: miniFacebook
XAMPP
First Web Pages of the Project
Web Page Template
Users Validation against an Array
Storing Passwords Securely
Database Connection Library
Users Validation against a Database
Registering a New User
Checking if User Is Logged
Donwload Project miniFacebook
Storing Passwords Securely
Accessing a Database
Main page of
phpMyAdmin
:
Creation of a new database:
Tables:
Users table:
Messages table:
Storing Passwords Securely
Accessing a Database