Difference between revisions of "PHPEX03"
From mi-linux
Jump to navigationJump to search (New page: Main Page >> Web Application Development >> Workbook >> Mini-task 03) |
|||
Line 1: | Line 1: | ||
[[Main Page]] >> [[CP2228|Web Application Development]] >> [[PHP|Workbook]] >> Mini-task 03 | [[Main Page]] >> [[CP2228|Web Application Development]] >> [[PHP|Workbook]] >> Mini-task 03 | ||
+ | |||
+ | Use everything you have learnt this week to create a single webpage that will: | ||
+ | |||
+ | * read a list of names from a text file | ||
+ | * sort them alphabetically and display them on the screen. | ||
+ | |||
+ | So if your text file contains the following data: | ||
+ | |||
+ | <pre> | ||
+ | Mary | ||
+ | Alix | ||
+ | Thomas | ||
+ | Bob | ||
+ | </pre> | ||
+ | |||
+ | Your webpage will display | ||
+ | |||
+ | <pre> | ||
+ | Alix | ||
+ | Bob | ||
+ | Mary | ||
+ | Thomas | ||
+ | <pre> |
Revision as of 09:45, 18 July 2011
Main Page >> Web Application Development >> Workbook >> Mini-task 03
Use everything you have learnt this week to create a single webpage that will:
- read a list of names from a text file
- sort them alphabetically and display them on the screen.
So if your text file contains the following data:
Mary Alix Thomas Bob
Your webpage will display
Alix Bob Mary Thomas