Your Cart Is Empty
Home > Technical Courses > Web Design and Development > PHP & MySQL Web Development
Learn to bring your website to life, changing it from a static HTML experience to a two-way interactive user experience.
This class will introduce you to the basics of PHP and MySQL, with emphasis on learning PHP syntax, conditional statements, arrays, loops, strings, functions etc. You will work with forms, sanitize user input for security, send emails, work with cookies to collect information, and upload files. You will use phpMyAdmin to build your database and tables and write SQL queries to fetch, insert, update, delete, and search records.
Category
ID
Duration
Level
Price
Web Design and Development
13558
3 Day(s)
Foundation
$1,485.00
Objectives
Upon successful completion of this course, you will be knowledgeable in:• Basic PHP Syntax• Working with PHP Numbers• Conditionals• Loops and Arrays• Working with Strings• Functions & Objects• Form Basics and Security
Basic PHP SyntaxThis exercise gets you started with the basics of PHP syntax. If you don't have previous programming experience, you will find that PHP is pretty simple to learn.Echo, Strings, and VariablesSingle Quotes vs. Double QuotesEscaping CharactersHeredocConcatenationCommentsWorking with NumbersIn this exercise, we will show you how PHP works with numbers.Arithmetic OperatorsAssignment OperatorsTable of Arithmetic OperatorsTable of Assignment OperatorsDefining a Site and Testing Server in DreamweaverConditionalsConditional operators will be one of the most-used elements of your programming life. Simply put, conditional operators are a way to choose when certain things happen. For example, if something is true, then do something. If it is not true, do something else.If/ElseElseifSwitchComparison OperatorsLogical OperatorsThe Difference Between == and ===ArraysOne of the most common and powerful types of variables is called an array. There are many ways you can create, output, and manipulate arrays, but here we will just focus on some of the most commonly-used basics.Creating a simple arrayUsing array()Multidimensional ArraysPrinting an Entire Array Using print_r()LoopsLoops are an incredibly important and often-used element of your programming tool belt. Here we will explore the many kinds of loops PHP has to offer.While LoopsDo...WhileFor LoopsForEachBreak Out of LoopContinueWorking with StringsLet’s explore some basic string functions.Comparing StringsConverting to Upper and Lower CaseSearching Through StringsCase-Sensitive and Case-InsensitiveFunctions & ObjectsIn this exercise, you will learn the basics of functions and how to use arguments within them. We will go over how to create objects with properties and methods. We will explore the differences between public and private properties, and how to extend classes' functionality.FunctionsArgumentsObjects and PropertiesObjects and MethodsPrivate PropertiesCreating Classes that Extend ClassesForm Basics and SecurityIn this exercise, we will cover the basics of PHP form submission. You will learn the difference between POST and GET, how to deal with radio buttons, checkboxes, and select fields, and how to secure your pages from attacks.Setting up a basic formPost vs. GetRadios, Checkboxes, and Select FieldsMagic QuotesSecuring the pageSending EmailOne of the great things about PHP is how easy it is to send an email. In this exercise we will show you how to set up MAMP Pro or XAMPP to send test emails.Setting Up MAMP ProSetting Up XAMPP and Mercury MailSending a Test EmailSimple Form Validation and EmailThis exercise will focus on a very simple form validation script that checks for simple errors, sanitizes input, and sends an email.Sanitizing InputError CheckingDisplaying ErrorsSending EmailAdding a Thank You PageIncluding FilesCookiesEvery website should use analytics to track where visitors come from and find information such as their landing page, how many times they have visited, where they came from, etc. and store it in a cookie.
Adding CookiesTracking the Number of VisitsSending an Email with the Cookie InfoSessionsIn this exercise we will create a simple login/logout application where we make a few pages password-protected.Starting a SessionUsing Session VariablesLog In/Log OutDestroying Session VariablesFile UploadsIn this exercise we will show you some very basic security measures as well as how to upload files. If you add this type of capability on your live site, it should be in a password-protected area or authenticated in some way.Making a File Upload FormThe $_FILES ArrayUploading FilesBasic SecurityCreating a Database/MySQL/SELECTIn this exercise, you’ll learn how to create a database in the phpMyAdmin control panel, as well as how to connect to a database and display some data.Creating a New DatabaseConnecting to the DatabaseSQL BasicsThe SELECT StatementDisplay the Number of Rows ReturnedMaking a Reusable Connection ScriptMySQL vs. MySQLi vs. PDOMaking a Reusable Connection ScriptBecause we will be connecting to the same database from several webpages, it makes sense to save the connection script into another page. That way, we can just include it at the top of any page that needs to connect to the database.Error CheckingMaking an IncludeSorting ResultsPrepared StatementsIn this exercise we are going to show how to select a certain row of data in a database. We will select all the records in the database that are equal to a certain email.Selecting and Filtering ResultsPreventing SQL Injection Attacks with Prepared StatementsSQL: InsertInteracting with a database wouldn't be much use if we couldn't add data to it. Here you will learn how to insert records into a database using prepared statements.The INSERT StatementUsing phpMyAdminInserting Information from a FormSQL: UpdateThis exercise will show you the SQL syntax for updating a record in a database as well as how to use a form to update user information including checkboxes and hidden fields.The UPDATE StatementUpdate FormDisplay Data in the Update FormDisplay CheckboxesHidden FieldsSQL: DeleteThis exercise shows you how to delete records from a database.The DELETE StatementDeleting Rows from a DatabasePassing ID Variables in a URLSQL: SearchThere are an enormous number of ways to search for information in a database. We will show how to perform a basic wildcard search on a column.Wildcard SearchesSearching with a Form
Questions?
This course is not associated with any Certification.
There are no formal prerequisites required for this course.
Productivity Point Learning Solutions evolved out of a desire to increase our outreach both nationally and internationally.
Productivity Point Headquarters 1580 Sawgrass Corporate Parkway Suite 205 Sunrise, Florida 33323 United States
Contact T 1-844-238-8607 P 1-954-425-6141 F 1-954-928-9057 E info@productivitypointls.com