What is html?
by Adrian on Apr.30, 2009, under Programming
What is HTML and how does it work?
In simple terms and to just introduce HTML (and not technical), most pages that people view on the internet are simply text files, that are being displayed a special way within a browser, they simply have the affix .html instead of .txt.
Whatever your browser (Internet explorer, firefox, opera, safari etc) they will attempt to render the text document according to some rules contained within it.
The rules contained within the document are in the form of tags placed within a < and a >.
These tags specify the rules or “markup” language for the way the text should be displayed.
The tags (generally) must have an equal amount of opening and closing tags, and must be closed in order.
There are many different tags, with many different uses.
For example, to render text as a header, the tag would be <h1>HEADER TEXT</h1>.
The tagging or, “markup language” explains the latter part of the acroynm HTML or “Hyper”, “Text”, “Markup“, “Language“.
WordPress blog to MU
by Adrian on Apr.16, 2009, under Programming, wordpress
Upgrading to wordpress MU manually from an old blog.
At work I had to update an old wordpress installation from 2.3.2 all the way up to the latest version of WordPress Mu (Multi User).
I documented the method I used and placed it below here.
If you do decide to do this it is done entirely at your own risk.
ALWAYS MAKE A BACKUP FIRST
Stage 1
Install Mu on its own database alongside your existing installation and database, within its own directory in the normal way.
Stage 2
Move the data across from Mu performing an upgrade, keeping all the data intact and wordpress Mu functioning correctly.
How this is done
Table pagination example PHP
by Adrian on Feb.08, 2009, under Programming
Table Pagination in PHP can be easily achieved with this function.
It is designed to be used in conjunction with the database class found here but can be used standalone with any suitable array.
The idea of this function is to quickly output the results of a multi-dimensioned associative array, with the minimuim of fuss.
This is ideal for repetitive back office dutys, but however, there are arguments which can be passed depending upon the level of control required to change the functionality or format.
A beginners step by step example can be found here
and the source code here
General discussion RSS Feed