Welcome To Snipplr


Everyone's Recent Snippets



1 ... 281 282 283 284 285 ... 553
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
0 1775 posted 15 years ago by rumremix
When retrieving table rows with PHP and prepared statements, you must use a method called bind_result() and pass in a variable name for each column that is being returned from the database. For example, if you are selecting three columns (say, id, ti...
3 2244 posted 15 years ago by Nettuts
0 1232 posted 15 years ago by almazom
Hacer una redireccion permanente
2 1652 posted 15 years ago by jrobinsonc
Doesn't have Selector
1 1147 posted 15 years ago by bassdas
The current time, converted from UNIX timestamp to use in MySQL DATETIME
0 1950 posted 15 years ago by koko
<img>
1 1831 posted 15 years ago by stuntsnippets
Courtesy of Dorphalsig on php.net (see URL above)
1 1493 posted 15 years ago by Moridin
Something I have always found annoying about JSF datatables is the limitation to only apply one header class style to the entire table. This is un-functional for datatables that would display monetary amount or other data that is typically right alig...
0 1569 posted 15 years ago by adriamooney
Vendor prefixes and W3C standard for border-radius in CSS3.
1 1909 posted 15 years ago by jonkemp
Internet Explorer 7 under Windows XP Service Pack 3 has the Windows Registry "Reserved Value" 180D set that was not set before, which can cause a "Do you want to move or copy files from this zone?" prompt on moves or copies between Windows shares if...
1 2170 posted 15 years ago by karlhorky
I borrowed the script from the Dreamhost-wiki and did a minor change towards any folder.
0 1396 posted 15 years ago by koko
2 1322 posted 15 years ago by dalcacer
0 1290 posted 15 years ago by stuntsnippets
0 1298 posted 15 years ago by genseric
5 3506 posted 15 years ago by rabc
Simple function to return a decimal value between the minValue and the maxValue.
0 2650 posted 15 years ago by Jamie
Simple function to return a value between the minValue and the maxValue.
0 1571 posted 15 years ago by Jamie
I needed to create several pages that didn't use any models and contained static data inside the default layout. My first thought was to create a controller for these pages and define an action for each static page I needed. However, this solution se...
0 1245 posted 15 years ago by TioSolid
$search_string - переменная для поиска
0 1349 posted 15 years ago by stancox
run as callback from form_validation->setrules ex: $this->form_validation->set_rules('cc_number','Credit Card #','required|max_length[20]|callback_alpha_dash_space');
0 1501 posted 15 years ago by myke
use 'custom_more' as custom field
2 1382 posted 15 years ago by screamwork
Add the following code to the end of the functions.php file. Et voilà !
1 1883 posted 15 years ago by math89
Following our recent work on an [API for Cloudworks](http://freear.org.uk/node/40) I thought I\'d post this simple demo, which uses cURL and json_decode. [Email us](mailto:cloudworks AT open.ac.uk?subject=API) for an API key. (15-24 June 2010.)
0 1364 posted 15 years ago by nfreear
Syntax used to create a table in MySQL. Replace column names as appropriate. Primary key should also be modified to suite needs.
2 1552 posted 15 years ago by dkynyc
1 ... 281 282 283 284 285 ... 553