Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 72 73 74 75 76 ... 147
To be placed in template.php preprocess_page function.\\r\\n\\r\\nBreaks stylesheets into 2 style tags with limit of 30 @imports each. IE has a limitation of 31 @imports or 31 style tags. (source: [http://john.albin.net/ie-css-limits/single-style-tes...
1 560 posted 13 years ago by resting
Drupal snippet
0 695 posted 13 years ago by apro2000
1 514 posted 13 years ago by sjacunningham
Nothing special. First snippet. :)
0 687 posted 13 years ago by embrace
This is my fairly easy to use MySQL database class, I use this on my Experiment framework BlahFramework, anyways I thought someone else may find this useful or just study the code to get an awesome idea of there own. Enjoy.
3 821 posted 13 years ago by Cory
based upon http://www.snipplr.com/view/41900/base-html5-template/
2 496 posted 13 years ago by withinmedianl
echo's: 2008 / 10 - Company name
0 544 posted 13 years ago by withinmedianl
use: <?=validarAbusoMayusculas('HOLA>
0 513 posted 13 years ago by nicolaspar
Say you want to run content plugins on JDocumentRAW content (like in a component that returns JSON data). Some methods in JDocumentHTML like "addCustomTag" will cause the app to fail on JDocumentRAW doc types which don't have this method. Thus you...
0 729 posted 13 years ago by harikaram
How to retrieve product attributes outisde the product page in Magento
0 451 posted 13 years ago by TioSolid
File: /template/[mytemplate]/html/com_content/category/blog.php page...
0 571 posted 13 years ago by harikaram
By using this snippet we can recover fields from a database by filtering these ones per a specific field.
1 676 posted 13 years ago by juanchifc
By using this php snippnet we can store different fields (got by array post) into a sql database
1 628 posted 13 years ago by juanchifc
By using this snippnet we can recover and show on a table the items stored into a sql database managed with mysql.
1 597 posted 13 years ago by juanchifc
Edit widget or display current category in sidebar.php
1 662 posted 13 years ago by lromak
Mostrar un link a una subcategoría, dependiendo de la categoría superior. category_parent es igual al id de la categoría superior. Sirve sólo cuando el post tiene una categoría hija de la categoría superior.
0 577 posted 13 years ago by jhonqwerty
Youtube ID simple extractor
1 613 posted 13 years ago by jhonqwerty
Always forget the correct way of putting this.
0 598 posted 13 years ago by jhonqwerty
0 914 posted 13 years ago by tomas
1 475 posted 13 years ago by sjacunningham
1 602 posted 13 years ago by sjacunningham
formulário para enviar para os emails de acordo com o departamento escolhido no Select
0 505 posted 13 years ago by rbulgueroni
Used to make a Google Pie Chart, with optional labels and size from an array, using the array keys as the labels and the values for the data.
0 582 posted 13 years ago by alexstone
1 ... 72 73 74 75 76 ... 147