Set default argument values PHP in MySQL
Setting default argument values is one way to avoid errors. Using simple assignments, you can set values to be used when null is passed. In this PHP with MySQL series video, you will also learn the difference between passing in null and passing nothing, as well as tips like listing required values first, and optional values and their defaults after.
PHP is a popular, reliable programming language at the foundation of many smart, data-driven websites. This comprehensive course from Kevin Skoglund helps developers learn the basics of PHP (including variables, logical expressions, loops, and functions), understand how to connect PHP to a MySQL database, and gain experience developing a complete web application with site navigation, form validation, and a password-protected admin area. Kevin also covers the basic CRUD routines for updating a database, debugging techniques, and usable user interfaces. Along the way, he provides practical advice, offers examples of best practices, and demonstrates refactoring techniques to improve existing code.
- What is PHP?
- Installing and configuring PHP and MySQL
- Exploring data types
- Controlling code with logical expressions and loops
- Using PHP's built-in functions
- Writing custom functions
- Building dynamic webpages
- Working with forms and form data
- Using cookies and sessions to store data
- Connecting to MySQL with PHP
- Creating and editing database records
- Building a content management system
- Adding user authentication
- Subject:
- Developer
- Software:
- MySQL PHP
- Author:
- Kevin Skoglund
Find answers to the most frequently asked questions about PHP with MySQL Essential Training .
- Q: This course was revised on 6/4/2013. What changed?
- A: The old version of this course was 6 years old and it was time for a complete revision, using PHP 5.4. (The tutorials will work with any version of PHP and covers any differences you might encounter). The author has also added updated installation instructions for Mac OS X Mountain Lion and Windows 8. The topics and end project are the same, but the code is slightly different. It also addresses frequently asked questions from the previous version.
- Q: This course was updated on 5/20/2015. What changed?
- A: We added one movie called "Changing the document root in Yosemite," which helps the Mac installation run more smoothly.


please wait ...


