Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This example will display the full content of the five most recent posts, and just the headlines from the five before that.
1
3508
posted 17 years ago by kwilson
This allows you to get contents of any div with ID tag.
$matches[0] returns with parent div tag
$matches[1] returns with out parent div tag
1
4747
posted 17 years ago by Gustavs
Rather simple profiler for > php5, if you want to find out where the heck those 0.5 sec function time goes into
0
1443
posted 17 years ago by birdspider
This used to be code adapted from Z'Oc, but I decided to start again and write it fresh with WP_Query instead of get_posts.
3
1909
posted 17 years ago by kristarella
For a client I needed a bit of code that could split one file (html, editable through wysiwyg editor) to multiple files, since all files would by default become very long. This code splits one file by the <h1> tag. Easy for end-users to set. Use CSS...
0
2042
posted 17 years ago by axtg
this codings display welcome message , curent date and greetings
0
1513
posted 17 years ago by beamconsultancy
Use this function to validate cookies set by Facebook Connect JS API
0
2203
posted 17 years ago by ping_ch
This will create a Navigation from a MySQL database table names. It removes the table name "includes" by default so you can see how to remove any certain tables you wish to not use as a site section. Just plug in your MySQL database details and co...
3
2424
posted 17 years ago by jiggyhat
Este codigo inserta un registro en una base de datos mysql utilizando PHP
0
2266
posted 17 years ago by denker
A simple replacement for print_r or whatever you use to display debug info.
2
2173
posted 17 years ago by PeteW
Magento Storeview über Flaggenbuttons steuern statt über Dropdown
0
1580
posted 17 years ago by nico65
Hiermit lässt sich der RSS Link einfügen.
Bspw. in Datei
/app/design/frontend/default/xxx/template/catalog/category/view.phtml
0
1892
posted 17 years ago by nico65