Exercises, examples and other material relating to training module H107. 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] |
Do you want to ignore case in a regular expression? There are a variety of ways of doing it ... depending on the language you're writing. Here are ... http://www.wellho.net/mouth/1336_Ign ... ssion.html [short article] |
Our web site update has been progessing well over the last couple of weeks - you'll probably have notices that most of the pages changed a fortnight ago ... http://www.wellho.net/mouth/493_Runn ... -page.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] |
div class= introsubheads PATTERN MATCHING (OR HOW TO DO A LOOK LIKE) BR /div
You can test a string against a pattern (known as a REGULAR EXPRESSION ... http://www.wellho.net/solutions/php-patt ... sions.html [longer article] |
A simple piece of code to show you some examples of date reformatting in PHP. Frequently, you'll get dates in a format such as the ones I've started ... http://www.wellho.net/mouth/1008_Dat ... n-PHP.html [short article] |
The text processing facilities in PHP are wide ranging. Functions are provided for all the common functionality (high-level and low-level) that's required by most users, and for much more besides. We have a saying in PHP Ð "There's a function to do that" Ð and nowhere does it apply more than in text processing.
This topic is presented on public courses
Learning to program in PHP,
PHP Programming
Examples from our training material
| bustimes.php | Using PHP to format data (timetable in this example) |
| clformat.php | Formatting data [file] for quick web display |
| code | Reaping from an HTML page with regular expressions |
| echovalley.php | How to put in blocks of HTML |
| extrawords | Extra words for spell checker |
| myform.php | Robust, sticky form demo with field validation |
| mystdinc.inc | Include file for sticky fields demo |
| pmoffs.php | Capturing regular expression offsets |
| regex.php4 | Regular expression - validating an email address |
| s1.php4 | Single and double quoted strings |
| s2.php4 | Character string as an array |
| s3.php4 | String cleansing with functions such as strspn |
| secdo.php4 | Convert seconds to minutes and seconds |
| sfex.php | Demo of sticky fields and security |
| shunt.php | Evaluting BODMAS expression using MySQL cell tables |
| spell.php | Spell Checker |
| sprint.php4 | Formatting with sprintf |
| stdist.php | Search - do two words look or sound the same? |
| stickform.php | Stick Fields and Input Validation |
| strp.php | Curly braces in double quoted strings |
| toke.php4 | String tokenising - strtok, implode, explode |
Pictures
String overview - Form to variable to SQL ... to variable to HTML
"There's a function to do that" - answer to all PHP questions?
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
Review of the fundamentals.
Formatting strings.
String cleansing.
Low-level string manipulation.
Tokenizing a string (explode).
Regular expressions.
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.