Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Used to display the latest X number of posts from the specified category.
5
897
posted 15 years ago by creator
For use on a single page... Only displays the content if the displayed post is in the specified category. You can use the category slug or the category ID if you know it.
6
1114
posted 15 years ago by creator
Checks the size of skypes online "status buttons" to determine online/offline status, so you're able to use custom buttons, text.. etc, etc
2
797
posted 15 years ago by davidsword
This will create a list grouped by the sorted field, which is an inner join on a category field.
0
653
posted 15 years ago by fostersolutions
PHP
Convert incorrectly-formatted UTF-8 strings of HTML into correctly-formatted UTF-8 strings of plain text.
Useful for taking incorrectly-formatted UTF-8 strings containing HTML data, and converting them to correctly-formatted UTF-8 plain text.
A handy tool for displaying HTML stored in a database.
4
1900
posted 16 years ago by X3Maverick
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0
3194
posted 16 years ago by luizlopes
Can also be used to load scriptaculous, or any js file in WP
2
806
posted 16 years ago by davebowker
Also check out...
http://roshanbh.com.np/2008/10/creating-parsing-json-data-php.html
3
1066
posted 16 years ago by jamesming
make a query and retrieve the first record, if error occurs show it and the query.
0
600
posted 16 years ago by ginoplusio