Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 71 72 73 74 75 ... 147
Following sql statement collect product sku with store url select catalog_product_entity.sku,catalog_product_entity_varchar.value from catalog_product_entity,catalog_product_entity_varchar where catalog_product_entity_varchar.attribute_id=87 an...
0 1956 posted 14 years ago by aashvi
0 1038 posted 14 years ago by stz184
1 1089 posted 14 years ago by MrFjords
I’ve made this function that receive the input $video string that contains the dirty embed code as it is from youtube. The second parameter $new_width (if specified) permits to resize the embed code proportionally to the width you need for your tem...
0 1762 posted 14 years ago by ginoplusio
A simple set of conditions to get dynamic title tags in a wordpress template.
0 959 posted 14 years ago by jhonqwerty
0 748 posted 14 years ago by jmaties
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 1049 posted 14 years ago by resting
Drupal snippet
0 1266 posted 14 years ago by apro2000
1 975 posted 14 years ago by sjacunningham
Nothing special. First snippet. :)
0 1168 posted 14 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 2074 posted 14 years ago by Cory
based upon http://www.snipplr.com/view/41900/base-html5-template/
2 874 posted 14 years ago by withinmedianl
2 1212 posted 14 years ago by adkatrit
echo's: 2008 / 10 - Company name
0 956 posted 14 years ago by withinmedianl
use: <?=validarAbusoMayusculas('HOLA>
0 944 posted 14 years ago by nicolaspar
0 1003 posted 14 years ago by metoikos
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 1305 posted 14 years ago by harikaram
How to retrieve product attributes outisde the product page in Magento
0 867 posted 14 years ago by TioSolid
File: /template/[mytemplate]/html/com_content/category/blog.php page...
0 1095 posted 14 years ago by harikaram
By using this snippet we can recover fields from a database by filtering these ones per a specific field.
1 1164 posted 14 years ago by juanchifc
By using this php snippnet we can store different fields (got by array post) into a sql database
1 1072 posted 14 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 1074 posted 14 years ago by juanchifc
Edit widget or display current category in sidebar.php
1 1114 posted 14 years ago by lromak
1 ... 71 72 73 74 75 ... 147