Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
File: /template/[mytemplate]/html/com_content/category/blog.php page...
0
1847
posted 16 years ago by harikaram
By using this snippet we can recover fields from a database by filtering these ones per a specific field.
1
2009
posted 16 years ago by juanchifc
By using this php snippnet we can store different fields (got by array post) into a sql database
1
1859
posted 16 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
1825
posted 16 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
1799
posted 16 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
1997
posted 16 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
1857
posted 16 years ago by dblandin
formulário para enviar para os emails de acordo com o departamento escolhido no Select
0
1681
posted 16 years ago by rbulgueroni
-print0 and -0 are used to allow for spaces and other wacky chars in file names
0
1834
posted 16 years ago by jfine
-print0 and -0 are used to allow for spaces and other wacky chars in directory names
0
1753
posted 16 years ago by jfine
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
1818
posted 16 years ago by alexstone