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 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
0 786 posted 15 years ago by giroro
Gets filename from current URL
1 860 posted 16 years ago by sarfraznawaz2005
1 857 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 657 posted 16 years ago by fostersolutions
2 756 posted 16 years ago by czapata
I don't wanna forget this small yet useful line.
1 908 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 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
This might work in Drupal 6, but I haven't tried it.
2 1013 posted 16 years ago by tgbdad
Can also be used to load scriptaculous, or any js file in WP
2 808 posted 16 years ago by davebowker
0 711 posted 16 years ago by iTony
0 580 posted 16 years ago by rodrigo
Here is a working example on how to sort data in a grid.
1 891 posted 16 years ago by assaado
1 656 posted 16 years ago by assaado
Also check out... http://roshanbh.com.np/2008/10/creating-parsing-json-data-php.html
3 1068 posted 16 years ago by jamesming
1 870 posted 16 years ago by Zver
make a query and retrieve the first record, if error occurs show it and the query.
0 602 posted 16 years ago by ginoplusio
retrieve only one value from the query
0 724 posted 16 years ago by ginoplusio
0 719 posted 16 years ago by garretjames
0 956 posted 16 years ago by crishnakh
1 ... 126 127 128 129 130 ... 147