Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is an example of what a typical description meta tag looks like.
0
1228
posted 15 years ago by goatboy91587
Execute this script to replace old links inside the content of Wordpress posts.
0
1234
posted 15 years ago by jhonqwerty
File: /template/[mytemplate]/html/com_content/category/blog.php page...
0
1367
posted 15 years ago by harikaram
By using this snippet we can recover fields from a database by filtering these ones per a specific field.
1
1477
posted 15 years ago by juanchifc
By using this php snippnet we can store different fields (got by array post) into a sql database
1
1376
posted 15 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
1356
posted 15 years ago by juanchifc
First, we select the link with an ID of #some_id, and prevent the default event from occurring (which would be to follow the link and load the target page). We grab the original destination of the link (by retrieving the href attribute of the link we...
3
1285
posted 15 years ago by jmsrie
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
1413
posted 15 years ago by jhonqwerty
<p>This function returns a random number within a range.</p><p>For example:</p><p>// assigns low and high values for range</p><p><code>int rangeLow = 34, rangeHigh = 78;</code></p><p>// computes a random number between 34 and 78</p><p><code>myRandomN...
0
1352
posted 15 years ago by dblandin
formulário para enviar para os emails de acordo com o departamento escolhido no Select
0
1213
posted 15 years ago by rbulgueroni