Programs: 12 | nothingless homepage
 |
Loop in PHP Using For (Ascending) - If you have a set number of times you need to repeat a piece of coding, using the for loop is the easiest way to accomplish this.
|
27 June 2007, 06:26 GMT Downloads: 522 |
 |
Generate a dropdown with days of the month will generate a form dropdown for all the days of the month, with today's day selected.
|
27 June 2007, 06:08 GMT Downloads: 394 |
 |
Generate a dropdown with months in a year will generate a form dropdown for all 12 months, with the current month selected.
|
27 June 2007, 06:08 GMT Downloads: 456 |
 |
PHP Pad Numbers will format all numbers to be two digits, inserting a 0 if they're under 10 - creating, for example, 09 instead of 9.
|
26 June 2007, 14:48 GMT Downloads: 665 |
 |
Trim/Remove Spaces - To remove multiple occurences of whitespace characters in a string an convert them all into single spaces
|
26 June 2007, 14:39 GMT Downloads: 572 |
 |
Clean Up Form Input - Basic cleanup of user form input.
|
26 June 2007, 14:37 GMT Downloads: 467 |
 |
Trim a line of text to X characters - how to trim a line of text to X characters in php
|
26 June 2007, 14:37 GMT Downloads: 394 |
 |
Use PHP Inside EE Entries - Change your template by adding the Allow EE tags around the field
|
26 June 2007, 14:36 GMT Downloads: 368 |
 |
Display In 2-Column Table - The below can be applied to MT, EE, etc, and will display the content in a 2 column table.
|
26 June 2007, 14:36 GMT Downloads: 450 |
 |
Date In The Future - How to display a date in the future - in this case, next month.
|
26 June 2007, 14:36 GMT Downloads: 398 |
 |
Display Current Year - Useful for example for automatic copyright notices
|
26 June 2007, 14:35 GMT Downloads: 604 |
 |
PHP Random Number - Replace 1 and 10 with the range you want to pick a number between
|
26 June 2007, 14:35 GMT Downloads: 808 |
|