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 2420 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 2770 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 1785 posted 17 years ago by davidsword
0 1868 posted 17 years ago by giroro
Gets filename from current URL
1 1969 posted 17 years ago by sarfraznawaz2005
1 1975 posted 17 years ago by ginoplusio
This will create a list grouped by the sorted field, which is an inner join on a category field.
0 1597 posted 17 years ago by fostersolutions
2 1775 posted 17 years ago by czapata
I don't wanna forget this small yet useful line.
1 1979 posted 17 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 3391 posted 17 years ago by X3Maverick
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0 4582 posted 17 years ago by luizlopes
This might work in Drupal 6, but I haven't tried it.
2 3084 posted 17 years ago by tgbdad
Can also be used to load scriptaculous, or any js file in WP
2 1890 posted 17 years ago by davebowker
0 2195 posted 17 years ago by davebowker
0 1770 posted 17 years ago by iTony
0 1459 posted 17 years ago by rodrigo
0 2067 posted 17 years ago by moonbather
Here is a working example on how to sort data in a grid.
1 1925 posted 17 years ago by assaado
1 1698 posted 17 years ago by assaado
Also check out... http://roshanbh.com.np/2008/10/creating-parsing-json-data-php.html
3 2293 posted 17 years ago by jamesming
1 2212 posted 17 years ago by Zver
make a query and retrieve the first record, if error occurs show it and the query.
0 1443 posted 17 years ago by ginoplusio
retrieve only one value from the query
0 1582 posted 17 years ago by ginoplusio
0 1660 posted 17 years ago by garretjames
0 2013 posted 17 years ago by crishnakh
1 ... 126 127 128 129 130 ... 147