Archive for April, 2004

Converting arrays to human readable tables

Posted on April 5th, 2004 in Code Repository | 1 Comment »

array2table() allows you to quickly display the contents of an array as a HTML table. It can also recursively display data for nested arrays.

Read the rest of this entry »

Improved PHP syntax highlighting

Posted on April 5th, 2004 in Code Repository | 31 Comments »

PHP_Highlight uses PHP’s built in tokenizer to provide reliable syntax highlighting for PHP code when server-side highlighting is required.

Read the rest of this entry »

Making time periods readable

Posted on April 5th, 2004 in Code Repository | 43 Comments »

time_duration() is a flexible function for making time periods readable.

Read the rest of this entry »

Cycling between strings, a novel implementation

Posted on April 5th, 2004 in Code Repository | 5 Comments »

Cycle provides a novel way to iterate through an array. This is commonly used for zebra-striping tables.

Read the rest of this entry »