Book 2, Get 1 Free
Book two scheduled training sessions to be taken in 2024, and get a third one completely free! Simply add three courses to your basket, and the discount will be applied at check-out.
PHP is the language powering more than 80% of the web that uses server-side technology. If you want your website to interact with a database and have back-end functionality, then you need to know PHP.
On this two-day course, we’ll start by teaching you how to set up your server, and write your first line of PHP code.
Over two consecutive days, you’ll learn how to send and receive information to and from a database, and how to create secure, interactive website functionality. Through project-based learning you’ll gain hands-on experience working with variables, arrays, conditional statements, loops, functions, objects, error reporting and exceptions.
Our PHP & MySQL course is available as a private training session that can be delivered via Virtual Classroom or at a location of your choice in the US.
Course overview
Who should attend:
If you want to take your first steps toward becoming a back-end developer, but currently have no experience and don’t know where to start, then this is the course for you.
What you'll learn:
By the end of this course, you will be able to:
- Customize your web server and use it to run your PHP programs
- Work effectively with all the PHP variable types
- Work with inbuilt PHP functionality to increase your workflow
- Use conditional statements, loops, functions and objects to solve a range of problems
- Set up and use a secure link with a database to run MySQL queries
Course agenda
- PHP overview
- XAMPP set-up
- Hello world!
- Comments
- Declaration
- Types
- String functions
- Declaration and using
- Associative arrays
- Multidimensional
- Array functions
- ‘If’ statement
- ‘If else’ statement
- ‘Switch’ statement
- While Loop
- Do…While Loop
- For Loop
- Foreach Loop
- Declaration
- Variable scope
- Passing values
- OO programming
- Class declaration
- Methods and properties
- Inheritance
- Database overview
- MySQL
- Command line
- phpMyAdmin
- Running a query from PHP
- Query types
- Relationships
- Variable types
- Date and time
- Model View Controller overview
- Top MVCs
- Advantages of using a MVC