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
898
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
1117
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
798
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
657
posted 16 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
1901
posted 16 years ago by X3Maverick
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0
3197
posted 16 years ago by luizlopes
Can also be used to load scriptaculous, or any js file in WP
2
808
posted 16 years ago by davebowker
Also check out...
http://roshanbh.com.np/2008/10/creating-parsing-json-data-php.html
3
1068
posted 16 years ago by jamesming
make a query and retrieve the first record, if error occurs show it and the query.
0
602
posted 16 years ago by ginoplusio