Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 126 127 128 129 130 ... 147
Used to display the latest X number of posts from the specified category.
5 1027 posted 16 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 1257 posted 16 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 925 posted 16 years ago by davidsword
0 896 posted 16 years ago by giroro
Gets filename from current URL
1 961 posted 16 years ago by sarfraznawaz2005
1 1004 posted 16 years ago by ginoplusio
This will create a list grouped by the sorted field, which is an inner join on a category field.
0 758 posted 16 years ago by fostersolutions
2 867 posted 16 years ago by czapata
I don't wanna forget this small yet useful line.
1 1039 posted 16 years ago by axthos
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 2057 posted 16 years ago by X3Maverick
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0 3366 posted 16 years ago by luizlopes
This might work in Drupal 6, but I haven't tried it.
2 1147 posted 16 years ago by tgbdad
Can also be used to load scriptaculous, or any js file in WP
2 920 posted 16 years ago by davebowker
0 1086 posted 16 years ago by davebowker
0 834 posted 16 years ago by iTony
0 715 posted 16 years ago by rodrigo
Here is a working example on how to sort data in a grid.
1 1011 posted 16 years ago by assaado
1 764 posted 16 years ago by assaado
Also check out... http://roshanbh.com.np/2008/10/creating-parsing-json-data-php.html
3 1187 posted 16 years ago by jamesming
1 986 posted 16 years ago by Zver
make a query and retrieve the first record, if error occurs show it and the query.
0 697 posted 16 years ago by ginoplusio
retrieve only one value from the query
0 856 posted 16 years ago by ginoplusio
0 836 posted 16 years ago by garretjames
1 ... 126 127 128 129 130 ... 147