PHP is a popular programming language and the foundation of many smart, data-driven websites. This is one of the most popular server-side languages used to build dynamic websites, powering everything from Facebook to Wikipedia. And although it is not especially difficult to use, nonprogrammers often find it intimidating. This comprehensive course from our mentor helps developers learn to use PHP to build interconnected webpages with dynamic content which can pass data between pages. Learn how PHP can simplify the creation of forms, read and validate form data, and display errors. Our mentor also covers the fundamentals of MySQL and how to use PHP to efficiently and securely interact with a database to store and retrieve data. Throughout the course, he provides practical advice and offers examples of best practices.
Learning objectives
- What is PHP?
- Embedding PHP code on a page
- Inserting code comments
- Variables, strings, arrays, and Booleans
- If, else, and elseif statements
- While and for loops
- User-defined functions
- Function arguments and return values
- OOP based concepts
- Organizing project files
- Including and requiring files
- Working with URL parameters
- Encoding dynamic content
- Modifying headers and page redirection
- Creating forms and processing form data
- MySQL basics
- Using PHP to access database tables
- Creating, reading, updating, and deleting database records with PHP
- Validating data
- Preventing SQL injection
Skills covered
- Dynamic Websites
- Front-end Development
- MySQL
- PHP