Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn PHP and MySQL for Beginners the Easy Way - 13 Hours
Rating: 4.0 out of 5(41 ratings)
4,005 students

Learn PHP and MySQL for Beginners the Easy Way - 13 Hours

Learn PHP and MySQL and get ready to take your web development skills to the next level!
Created bySimon Sez IT
Last updated 9/2021
English

What you'll learn

  • By the end of the course, you will have a foundation of PHP and MySQL knowledge
  • Discover how to use PHP variables
  • How to debug PHP code
  • Learn how to read a configuration file
  • Discover the basics of using a PHP library
  • Common security threats
  • Understanding MySQL architecture and installation of MySQL
  • Learning database design
  • Administration of a database
  • Using indexing for database performance
  • Discover SQL for Developers
  • Understanding query analysis and optimization
  • Setting up replication in MySQL

Course content

2 sections85 lectures12h 9m total length
  • Course Objectives; PHP Definition, Syntax, Key Words and Tags11:20
  • WATCH ME: Essential Information for a Successful Training Experience2:03

    Get the most from this high-definition, video-based course with downloadable exercise files, clear guidance on which files to open for each exercise, and tips to adjust playback quality and speed.

  • DOWNLOAD ME: PHP Course Exercise Files0:22
  • PHP Development Environment; Whitespace and Comment7:40

    Set up a PHP development environment, write readable code with proper whitespace and inline and block comments, and render hello world pages on local servers like Apache or IIS.

  • Variables; Exercise 211:00
  • Echo vs. Print; Single vs. Double Quotes5:42

    Explore the differences between echo and print, including argument handling, the concatenation operator, and performance notes, and compare single versus double quotes in PHP, highlighting variable interpolation and special characters.

  • Operators11:28

    Master PHP operators that manipulate variables and literals, including arithmetic, modulus, assignment, string concatenation, equality and identical checks, not equal, and shortcuts like += and ++ with precedence and parentheses.

  • Controlling the Flow of Execution; Exercise 311:18

    Explains how to control the flow of execution using if, else if, else, and switch constructs in PHP, with a practical exercise testing username and password on a web page.

  • Repeating Codes; Exercise 411:42

    Explore php looping constructs while, for, and foreach, with break and continue to control termination. Learn to print sequences and reverse 0–10 and square the counter.

  • Debugging PHP; Scaffolding Code4:54

    Learn practical debugging in PHP by scaffolding code with echo statements, using a debug flag to reveal variables and execution flow, and safely toggling debugging for development versus production.

  • Arrays; Exercise 510:55
  • Functions - Part 111:39

    Learn how to create and call PHP functions, pass parameters and arguments, and return values to interact with data, while understanding scope and execution.

  • Functions - Part 2; Exercise 613:52

    Master PHP functions by handling required and default arguments, exploring local and static scopes, and using built-in helpers, then build a validate_user function with a static credential map for login checks.

  • External PHP7:42

    Use include, include_once, require, and require_once to bring reusable PHP functions into pages, avoiding duplication and enabling centralized updates. Know that require halts on missing files, while include only warns.

  • Runtime Error Handling10:34

    Learn how PHP handles runtime errors with try and catch, protecting code blocks, controlling execution flow, and recovering via multiple catch blocks ordered from most specific to general.

  • Reading and Writing to a File11:53

    Explore PHP server side file handling by opening files with fopen, reading data with fread and fgets, parsing CSV with fgetcsv, and writing with fwrite, then closing with fclose.

  • Reading a Configuration File; Exercise 78:07

    Learn how to read application configuration files in PHP using parse_ini_file and simplexml_load_file, extracting database login details and debug settings from ini or XML formats.

  • Form Processing; Cookies and Sessions Superglobals; Exercise 810:04
  • Database Storage - Part 15:04

    learn to store user interaction data in a relational database, connect via php to mysql or mariadb, and use select, update, insert, and delete operations.

  • Database Storage - Part 212:33

    Connect to sequel server and my sequel databases from a PHP app using local environment settings, then perform select and insert operations and verify results as associative arrays.

  • Object-Oriented Development - Part 113:01

    Explore object oriented development in PHP, encapsulating data and behavior into objects with a clear interface. Create classes and instances using constructors, destructors, and access modifiers.

  • Object-Oriented Development - Part 213:02

    Explore a PHP object-oriented user model with private attributes, a constructor, destructor, and getters. Learn status validation and generate unique user IDs with a static helper, plus object creation examples.

  • Object-Oriented Development - Part 34:37

    Master object oriented development in php by extending a base class to create a child class, reuse existing functionality, and override parent methods with parent::method.

  • Inheritance Demo13:38

    Demonstrates inheritance by modeling a person class and an employee subclass, highlighting private attributes, a public constructor, access modifiers, and a static, private employee ID generator.

  • Exercise 91:59

    Define a movie class with title, year, director, and rating, provide a public interface avoiding direct attribute access, and use is-a inheritance with web form to enter and print movies.

  • Common Threats2:44

    Explore PHP threats like cross-site scripting, cross-site forgery, session hijacking, and SQL injection, and learn server-side validation and sanitization using htmlspecialchars and filter_input and filter_var to prevent attacks.

  • Security Demo and Exercise 1012:53

    Develop a reusable validator class to securely validate and sanitize user name, email, personal website URL field, and phone number. The lesson emphasizes server-side validation for security and injection prevention.

  • PHP Built-in Constants and Standard PHP Library12:34
  • Standard PHP Library Demo - Part 110:13

    Demonstrates a movie catalog class that implements the countable, array access, and iterator aggregate interfaces to manage a list of movies with insert and director search functionality.

  • Standard PHP Library Demo - Part 27:10

    Explore standard PHP library usage by building a movie catalog with require_once, inserting movie objects, displaying them, and iterating with foreach using iterator aggregate and array access.

  • SPL Data Structures and Exception Types8:44

    Explore the PHP SPL data structures, including fixed arrays, doubly linked lists, stacks, queues, and heaps, and learn how to implement custom exceptions for robust error handling.

  • SPL Data Structures Demo14:57

    Explore SPL data structures in PHP, including heap, stack, doubly linked list, and fixed array, with concrete examples of iterators, countable interfaces, abstract classes, and compare logic.

  • SPL Exception Types Demo; Exercise 118:06

    Explore the SPL exception hierarchy and runtime error handling, create custom exceptions, and organize catch blocks; build a movies class implementing Countable, ArrayAccess, IteratorAggregate for foreach and for loops.

  • Relational Database Management Systems and SQL Language5:50
  • SQL Statement7:48
  • Select Statement Demo - Part 114:13

    Demonstrates how to use various forms of the select statement against the employee table, measuring performance with a Timer, and applying where, order by, and like to refine results.

  • Table Joins and Union5:36

    Learn to join related data across tables using inner, left, right, and full outer joins, plus union, by matching common keys in a relational database.

  • Select Statement Demo - Part 214:47

    Explore how to use the select statement with joins to link employee and person tables via the business entity ID, retrieve names and addresses, and analyze join performance across tables.

  • Joins Demo4:08

    Explore left and right joins by combining the employee and person tables on business_entity_id, illustrating how unmatched rows appear and how results differ.

  • Insert, Update and Delete Commands; Aggregate Functions8:01

    Master insert, update, and delete in MySQL, including long vs short forms and where clauses; apply archiving inactive records and use aggregate functions (count, avg, max, min, sum) in selects.

  • Queries and Store Procedure5:58

    Learn to replace ad hoc PHP queries with stored procedures, sanitize and validate user input to prevent SQL injection, and build a dynamic, database-driven site with a content management workflow.

  • Design Pattern Categories6:12

    Explore design pattern categories (creational, structural, and behavioral) through the singleton and observer patterns, highlighting language-independent solutions that boost reusability and rapid software development.

  • Singleton Pattern Demo8:52

    Explore how the singleton design pattern ensures a single database connection manager instance, using a private constructor and a get instance method to manage and close the connection.

  • Observer Pattern Demo6:52

    Explore the observer pattern in PHP using publish-subscribe with SPL interfaces, implementing a sales manager subject and three observers (fulfillment, inventory, finance) that react to a new sale.

  • PHP Programming Quiz

Requirements

  • A text editor and a passion for learning.

Description

Discover how to use PHP and MySQL, a popular choice for developing powerful web applications!

These days, you’re nowhere without a website, so there’s a huge value to web development skills. PHP is one of the most widely-used scripting languages around, and this course will help you master the basics of the language so that you can build your own website, or help refine your company’s. Discover the power of PHP as you take your website development skills to the next level.

During the 6.5 hour PHP beginner course, discover the fundamental concepts beginner PHP developers need to master. Your professional instructor combines practical lectures that ensure you have a solid grasp of the basics with coding examples that include exercise files so you get real hands-on practice.

Follow along as you learn the PHP syntax, development environment, and other basic concepts. Discover more advanced topics including database storage, object oriented development, using the standard PHP library, and basic SQL language commands.

This course includes exercise example files, certificate of completion, and quiz.

During the 5.5-hour MySQL beginner course, discover the fundamental concepts beginner MySQL administrators need to master. Your professional instructor combines practical lectures that ensure you have a solid grasp of the basics with practical examples that include exercise files so you get real hands on practice.

Follow along as you learn how to install MySQL for the first time. Discover critical concepts for designing a database. Explore how to administrate a MySQL database including limiting access, creating users, database backup and performance monitoring. Then get ready to take your MySQL skills to the next level as you learn SQL for developers, database replication, data encryption and more.

This course includes a certificate of completion, and quiz.

*Updated July 2017: Close captions in English added.

Who this course is for:

  • Anyone new to PHP
  • Anyone new to databases
  • Web developers