Last updated November 8, 2008. Created on May 19, 2005.
Edited by Jody Lynn, add1sun, moshe weitzman, puregin. Log in to edit this page.

Please post your own snippets up here for others and follow these simple guidelines.

  1. Click on ADD CHILD PAGE from the section that your snippet belongs with (e.g. PHP block snippets, PHP page snippets, etc.)
  2. Give your snippet a short and obvious title so it is easy for others to see what your snippet does.
  3. Please include a simple introduction at the top of your PHP Snippet which explains:
  • What the snippet does
  • Which versions of Drupal has it been tested with
  • Any extra information for newbies that you think is relevant

Looking for support? Visit the forums, or join #drupal-support in IRC.