| |||||||||||
| |||||||||||
There is a function in PHP to do that
Once you understand the philosophy behind a programming language, you can make superb use of it. Initial learning will show you a few things and get you comfortable, but once you've also learnt a few of the things behind the language you can become a real wizard. Your educated guesses will usually be correct, and you'll be able to move on to write productive original code as you understand the nature of the beast you're using.
PHP is a language that was designed to allow embedded functionality to be provided in the form of extra tags to be interpreted server side from within an extended HTML (this is why I sometimes call it an HTML++ language). There's a huge range of these extra tags, to the extent that I have a regular saying when I'm running a PHP course that goes along the lines "there's a function to do that" ... and some of those functions are truly remarkable. Would you like to highlight your PHP syntax to help in debugging perhaps? There's a function to do that highlight_file("../../trainee/h106/a3.php4"); is the only active line in a demo file I've just uploaded. The results presented show one of our training scripts in a much more readable form that the usual monochrome, and without the need to buy any extra editor addins / development tools either. (written 2005-02-21 06:13:31) Associated topics are indexed under H105 - PHP - Functions
Some other Articles
Bellringing and Programming and Objects and PerlGrowing our systems 10 years and counting YOUR application and YOUR data There is a function in PHP to do that Who are all these visitors? Lunchtime Drink When to use Frames Some unusual features Golden Nugget 1637 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||