Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
If you ever need to build a comma delimited list out of a column in SQL you can easily do this using the COALESCE function.
0
1427
posted 17 years ago by mcbutterbuns
Expands a MySQL / Gzipped file and executes it's queries.
0
1733
posted 17 years ago by mattkenefick
This function uses the power of regexp to check if some bad word are on the text, also offers the posibility to change those word for something else. Examples:\r\n\r\n$texto = \'fuck off!\';\r\nfiltrado($texto); returns true since a bad word has been...
1
1839
posted 17 years ago by oso96_2000
View to use with the docs at http://drupal.org/node/144725 for creating image gallery using cck, views and thickbox.
3
1745
posted 17 years ago by shrop
Just to include and implement the SWFObject to an HTML body from a generic "/js/" directory with some basic varibles.
[applies to OLD version of SWF Object]
1
1306
posted 17 years ago by mattkenefick
This was taken out of a presentation by eZ systems on PHP Best Practices
0
1651
posted 17 years ago by luizlopes
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0
2020
posted 17 years ago by localhorst
A Views export for Drupal 5. A block that only site admin and site manager roles can access, showing unpublished comments for blog entry content type.
3
1765
posted 17 years ago by shrop