Exercises, examples and other material relating to training module H103. This topic is presented on public courses
Learning to program in PHP,
PHP Programming
PHP Programming - Learn PHP, and its use as a Web-scripting language
This course covers the fundamentals of
programming in PHP and Web-related issues ... http://www.wellho.net/course/phfull.html [course] |
Learning to program in PHP - Learn PHP, and its use as a Web-scripting language
This course covers the fundamentals of
programming in PHP and Web-related ... http://www.wellho.net/course/pffull.html [course] |
If you've finished with a variable in your program, you can usually just leave it "in situe" and it will be destroyed and the memory it occupied will ... http://www.wellho.net/mouth/748_Gett ... -them.html [short article] |
Beginning PHP for the leisure market - Learn how to make you web site more dynamic
This is a two day weekend course which is designed for the
delegate ... http://www.wellho.net/course/xafull.html [course] |
What does this print?
<?php
$first = "fur";
$last = "feather";
$$first = "yum yum ";
${"$first$last"} = "yikes";
print "$fur $furfeather";
?>
It ... http://www.wellho.net/mouth/483_Doub ... n-PHP.html [short article] |
Centigrade to Absolute
The addition is done every time you call the page
From a
Well House Consultants
training
module
http://www.wellho.net/resources/ex.php4?item=h103/k1.php4 [code sample] |
Here's a peculiar PHP statement I wrote this morning:
if ($aindex[$chk] == "") $aindex[$chk] = "";
What was I doing? I am actually checking ... http://www.wellho.net/mouth/2215_If- ... hing-.html [short article] |
Writing a straightforward but meaningful executable web page in PHP. You'll learn how to read data from the user via a form, how to perform calculations using operators, and store the results in computer memory using variables. You'll also learn how to include those results in your response page.
This topic is presented on public courses
Learning to program in PHP,
PHP Programming
Examples from our training material
| header.txt | File to be included in master example ?> |
| k1.php4 | A calculation in PHP |
| k2.php4 | A calculation with variables |
| k3.php4 | Getting a variable from a form - OLD style |
| k3a.php4 | Getting a form variable - new and more secure style |
| k4.php | Example of comment types |
| master.php4 | PHP page that calls in an include file ?> |
| result | Master and Header code merged |
| simsan.php | Simple sanitisation and sticky field example |
Pictures
We ran a PHP course for Pepperdine University
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
Variable naming, creation.
Strings, Integers and Floats.
Constants.
Saving values in variables and retrieving them.
Arithmetic, logical, relational, bitwise and other operators.
Combining operators; expressions, precedence, etc.
Comments.
Including a file.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.