Customer Service or Enrol: 0800 282 353 or +44 1372 364610
 

PHP for Web Development: Hands-On

Course: 519   Type: Hands-On   Duration: 2 Days
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. In this course, you gain a solid foundation in PHP techniques through extensive hands-on exercises that allow you to produce dynamic Web pages using database content.

Who Should Attend
This course is valuable for those creating dynamic, database-driven Web sites. Basic experience with HTML is assumed. Programming experience in a language such as ASP, Perl, JavaScript or VB, 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
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
  • Determining how data is sent from forms to PHP scripts
  • Creating dynamically-generated hyperlinks to call PHP scripts
Manipulating user input
  • 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 and problematic situations
  • Investigating the HTTP header
  • Suppressing on-screen error messages
  • 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 and displaying query results
  • Avoiding potential problems by managing quotes and backslashes in data
  • Closing the database connection
 

request more info Salutation*:

First Name*:

Last Name*:

Job Title:

Company*:

Post Code*:

Country*:
   Codes
Office Telephone*:

Extension:

E-mail*:

* Required

A Learning Tree representative will contact you to follow up your request for information.

Save 55%
PHP for Web Development
21 - 22 Jul, 2008
London
3 - 4 Nov, 2008
London
2 - 3 Mar, 2009
London

Participants developing dynamic Web sites using PHP.

£ 1,095 - Standard Tuition
Savings Plans
£ 540 - 10-Day Training Pass
£ 995 - Flex-Training Passport
£ 800 - Short Course Vouchers
£ 985 - Alumni Gold Tuition

 
Customer Service or Enrol: 0800 282 353 or +44 1372 364610