Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Ordena alfabéticamente el array $friends['data'] obtenido con la api de facebook.
0
860
posted 12 years ago by serialk89
[Related SQL query to create the storage table](http://snipplr.com/view/56995/sql-query-to-create-a-table-in-mysql-to-store-tweets/ "Related SQL query to create the storage table")
0
1525
posted 12 years ago by eddequincey
http://codemagento.com/2011/04/observers-and-dispatching-events/
0
1214
posted 12 years ago by necode
If you wanna use images stored by K2 in your custom scripts/classes you'll need to know how K2 generates the names... (took me quite a bit to find that, because they're not stored in the _k2_items table)
0
639
posted 12 years ago by iroybot
Esta es la primera parte del desarrollo de una app para facebook, se separará en 4 archivos mas o menos. Este es el primero y es el arhivo que contiene la información de la app y hace las conexiones pertinentes y las validaciones. nuestro archivo s...
0
598
posted 12 years ago by serialk89
This was for a customer.
Basically it does this:
If a page has no children, it shows ... nothing,
if a page has a parent, it shows all other children of this parent (siblings) and the current page
if a page has a parent AND children (3rd level)...
0
624
posted 12 years ago by zartgesotten
Refer to the following:
http://codex.wordpress.org/Class_Reference/wpdb
0
1191
posted 12 years ago by redconservatory
A great plugin for Wordpress:
http://podscms.org
Currently does not play well with plugins that use custom fields but this will change in version 2.
For more information, refer to:
http://mondaybynoon.com/2010/01/04/introduction-to-pods-cms-w...
0
663
posted 12 years ago by redconservatory
n nextgen-gallery/view/gallery.php, find these lines. Either comment out or remove.
0
560
posted 12 years ago by xcsteve99
Cut-and-paste the following into your functions.php file (inside of your theme folder).
Change the Name-goes-here to whatever you want.
0
708
posted 12 years ago by redconservatory
Created by me as a quick and secure way of creating a username and password for basic authentication via a .htpasswd file on an Apache server.
A live demo is available at http://www.chrishair.co.uk/supgha/
Thanks.
0
738
posted 12 years ago by hairzo
Pulls in 'main-navigation' and 'social-navigation' menus into a single UL. the key is items_wrap => %3$s
0
724
posted 12 years ago by dan_hoerr