Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 393 394 395 396 397 ... 552
Here is a small function that I use to update records in a database. It coincides with the insertFromPost function that I have posted earlier. The element names in the form need to have the same name as in the DB and the field names should all...
1 2217 posted 17 years ago by brownrl
0 1955 posted 17 years ago by tiki16
Simplifies a button to use only one function for URL navigation.
1 1594 posted 17 years ago by MacEvelly
Rather than hard-coding values shared between classes/methods/servlets, it's good to use content params in web.xml.
0 1812 posted 17 years ago by sunkist
0 1775 posted 17 years ago by jonniespratley
1 2072 posted 17 years ago by jonniespratley
0 1919 posted 17 years ago by crs
This snippet will create an array of all images in a directory and sub-directories and display them randomly.
4 5692 posted 17 years ago by superuntitled
0 1890 posted 17 years ago by arpit
An ActionScript3 video player placed on the stage, configurable by FlashVars. It displays a spinning loader until the video loads. Also see http://snipplr.com/view/11606/ for another AS3 video code template Read about AS3 video in this in-depth t...
0 2364 posted 17 years ago by Winkyboy
3 3490 posted 17 years ago by pckujawa
Drupal FiveStar change any of the settings as necessary to create a completely customized widget, regardless of the node type settings.
1 1797 posted 17 years ago by humanoid
Quick function to send out decent-looking (but simple) html emails.
2 2193 posted 17 years ago by fuzzylogic
Manipulates XML nodes using PHP's Dom library. Includes XPath navigation, child manipulation, and deletion of current document.
0 1789 posted 17 years ago by mikeevans
Returns only the directory path to the current file — no host or filename, just URI directory structure.
1 2116 posted 17 years ago by radarseven
In Magento administration, go to System > Configuration. After choice Developer at the bottom of the page. In Prototype Deprecation Log switch to no.
0 1528 posted 17 years ago by nico65
Include file that contains the array of areacodes and states. **This file is needed for the Areacode Script to work. Script here: http://snipplr.com/view/17339/area-code-lookup-script/
2 1717 posted 17 years ago by arnoldb
This simple script will return what state an areacode belongs to. Be sure to get the include file that contains the array here: http://snipplr.com/view/17340/area-code-lookup-script--include-file/
1 1927 posted 17 years ago by arnoldb
returns URL that's an I'm feeling lucky search on wikipedia. Handy when paired with a database of names of things.
2 1760 posted 17 years ago by mocha0range
0 1719 posted 17 years ago by jpsirois
1 ... 393 394 395 396 397 ... 552