Learning Tree International

Web Development and Adobe Products Courses

0800 282 353 or +44 1372 364610
 

Request Info

Salutation

First Name

Last Name

Job Title

Company

Post Code

Country
List

Office Telephone

Extension

E-mail

A representative will contact you to follow up your request.

Save 50%
 

Introduction to PHP for Web Development: Hands-On


Course 5192 days

  E-mail a Colleague  Print Friendly  FAQ  Course Details PDF

Quick Enrol

You Will Learn How To

  • Write effective, efficient PHP scripts
  • Embed PHP scripts in HTML pages to create dynamic Web pages
  • Manipulate data from Web page forms
  • Track users as they navigate your site with cookies and other PHP features
  • Structure PHP code using user-defined functions and external libraries
  • Develop database-enabled Web applications using MySQL

Course Benefits

PHP is a scripting language used to create dynamic, complex and robust Web pages. It can seamlessly integrate with a wide range of database servers, including Oracle and Microsoft SQL Server. In this course, you gain a solid foundation for incorporating PHP techniques. Extensive hands-on exercises provide you with the skills to produce dynamic Web pages, retrieve and manipulate data, track user navigation, and integrate database content.

Who Should Attend

Those creating dynamic, database-driven Web sites. Basic experience with HTML is assumed. Programming experience in a language such as JavaScript, VB, ASP or Perl, is helpful.

Hands-On Training

In this course, you develop PHP scripts to perform a variety of tasks, culminating in the development of a full database-driven Web page. Exercises include:
  • Accessing command line arguments from PHP scripts
  • Generating Web pages dynamically using PHP
  • Retrieving and manipulating form data
  • Personalising Web site content using cookies
  • Tracking user navigation on your Web site
  • Integrating database content to generate dynamic Web pages
  • Building modular scripts to enable code reusability

Course Content

Programming with PHP

Introduction to PHP

  • Origins of PHP in the open source community
  • Availability across multiple platforms
  • Installing as a module for Apache Web Server and Microsoft Internet Information Server
  • Running as a CGI engine for other Web servers

PHP language building blocks

  • Comparing PHP with other Web scripting languages
  • Investigating PHP data types
  • Integers
  • Floating point values
  • Strings
  • Booleans

Writing PHP scripts

  • Storing values in scalar variables
  • Employing ordinary and associative arrays
  • Writing conditional expressions
  • Implementing loops such as while, for and foreach
  • Building complete scripts incorporating loops and conditional expressions

Writing Web Pages with PHP

Interacting with the server

  • Outlining Web protocols
  • Embedding PHP code into HTML pages
  • Employing shortcuts to display single PHP values
  • Determining how data is sent from forms to PHP scripts
  • Creating dynamically-generated hyperlinks to call PHP scripts

Manipulating user input

  • Presenting the user with input options via different HTML form elements
  • Retrieving form data with $_POST and $_GET arrays
  • Validating retrieved data
  • Strategies for handling invalid input
  • Storing state information using cookies

Applying Advanced Scripting Techniques

Exploiting the built-in functionality of PHP

  • Formatting date and time information
  • Manipulating string data
  • Reading and writing data using file I/O functions
  • Investigating other built-in features

Structuring PHP code

  • Writing user-defined functions to structure your code
  • Passing arguments and default values to functions
  • Returning data from functions
  • Accessing global variables
  • Building code libraries for reusability
  • Incorporating external PHP scripts with require and require_once

Building Complete Web Applications

Managing errors

  • Investigating the HTTP header
  • Suppressing on-screen error messages on production servers
  • Configuring the php.ini file to control error messages

Handling problematic situations

  • Troubleshooting problems when manipulating data
  • Redirecting the browser to other pages
  • Modifying the PHP configuration file to suit your needs
  • Developing debugging strategies

Establishing database connectivity

  • Creating and managing database connections
  • Sending queries to the database server employing the most efficient methods
  • Retrieving query results as associative arrays
  • Looping through databases
  • Displaying returned data on Web pages
  • Avoiding potential problems by managing quotes and backslashes in data
  • Closing the database connection

<< Back to Web Development and Adobe Products Course List

Related Courses

 
Introduction to PHP for Web Development
Introduction to PHP for Web Development: Hands-On

Course Dates

29-30 MarLondon enrol
13-14 SepLondon enrol
28 Feb-1 MarLondon enrol

Attend highlighted events
in person or online with Learning Tree AnyWareTM.

More Dates and locations.

On-Site &
Custom Training

Bring this or any Learning Tree course to your location or have it customised for your organisation.

Tuition

£ 1,150 Standard Tuition
Tuition with a Savings Plan
£ 1,000Flex-Training Pass
£ 50010-Day Training Pass
£ 1,520Voucher 10-Pack
£ 1,035Alumni Gold Discount
 
Introduction to PHP for Web Development: Hands-On

Participants developing dynamic Web sites using PHP.

 
"In terms of doing my job, the Learning Tree Courses have helped me tremendously. Alongside the course materials, attendees share their knowledge".

C. Mundell
IT Manager
Sigma-RBI