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
1690
posted 17 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
2050
posted 17 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
1269
posted 17 years ago by davidsword
This will create a list grouped by the sorted field, which is an inner join on a category field.
0
1070
posted 17 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
2762
posted 17 years ago by X3Maverick
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0
3909
posted 17 years ago by luizlopes
Can also be used to load scriptaculous, or any js file in WP
2
1352
posted 17 years ago by davebowker
Also check out...
http://roshanbh.com.np/2008/10/creating-parsing-json-data-php.html
3
1730
posted 17 years ago by jamesming
make a query and retrieve the first record, if error occurs show it and the query.
0
981
posted 17 years ago by ginoplusio