Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 126 127 128 129 130 ... 147
Used to display the latest X number of posts from the specified category.
5 1137 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 1396 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 1025 posted 16 years ago by davidsword
0 1001 posted 16 years ago by giroro
Gets filename from current URL
1 1079 posted 16 years ago by sarfraznawaz2005
1 1105 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 839 posted 16 years ago by fostersolutions
2 959 posted 16 years ago by czapata
I don't wanna forget this small yet useful line.
1 1163 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 2169 posted 16 years ago by X3Maverick
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0 3475 posted 16 years ago by luizlopes
This might work in Drupal 6, but I haven't tried it.
2 1254 posted 16 years ago by tgbdad
Can also be used to load scriptaculous, or any js file in WP
2 1047 posted 16 years ago by davebowker
0 1196 posted 16 years ago by davebowker
0 944 posted 16 years ago by iTony
0 769 posted 16 years ago by rodrigo
0 1091 posted 16 years ago by moonbather
Here is a working example on how to sort data in a grid.
1 1119 posted 16 years ago by assaado
1 871 posted 16 years ago by assaado
Also check out... http://roshanbh.com.np/2008/10/creating-parsing-json-data-php.html
3 1291 posted 16 years ago by jamesming
1 1094 posted 16 years ago by Zver
make a query and retrieve the first record, if error occurs show it and the query.
0 780 posted 16 years ago by ginoplusio
retrieve only one value from the query
0 940 posted 16 years ago by ginoplusio
0 929 posted 16 years ago by garretjames
1 ... 126 127 128 129 130 ... 147