Welcome To Snipplr


Everyone's Recent Snippets



1 ... 350 351 352 353 354 ... 553
1 1342 posted 15 years ago by AzizLight
Put this at the top of your CodeIgniter models, controllers, libraries and helpers to restrict direct access to them.
1 2138 posted 15 years ago by AzizLight
Before: ` Array ( [0] => Array ( [total_sessions] => 24 [study_type_id] => 1 ) [1] => Array ( [total_sessions] => 24 [study_type_id] => 2 )...
0 1031 posted 15 years ago by iloveitaly
0 1079 posted 15 years ago by smashu
A PHP class that creates html controls
1 1328 posted 15 years ago by mpcircuitry
This class uses static methods to create html controls on the fly in .NET
2 1523 posted 15 years ago by mpcircuitry
This will delete all items in a SharePoint list. Better than looping through a SPListItemCollection and doing a .delete();
0 1592 posted 15 years ago by blackf0rk
This is the first version of my PHP DB connection class using ODBC
0 1624 posted 15 years ago by mpcircuitry
In DB.GetData(select) is executed new SqlDataAdapter(Select, dbConnection).Fill(table)
0 1094 posted 15 years ago by tomaszsimon
You have a white shine on top just by changing the background color in whatever color you like.
0 1126 posted 15 years ago by crs
1 2264 posted 15 years ago by crs
2 1529 posted 15 years ago by crs
1 1193 posted 15 years ago by crs
Function to detect user language in php.
2 1229 posted 15 years ago by ginoplusio
0 921 posted 15 years ago by obi
0 1357 posted 15 years ago by sveggiani
Here is a nice snippet to open links in pop-up windows. Just add the popup css class to your link to make it work.
3 1693 posted 15 years ago by math89
The target="blank" attribute is not valid XHTML 1.0 Strict. using jQuery, you can achieve the same functionality without having validation problems.
0 1140 posted 15 years ago by math89
Great way to show the user that something is happening without too much tedious work. As simple to use as putting the following code in Form_Load: AutoWaitCursor.Cursor = Cursors.WaitCursor; AutoWaitCursor.Delay = new TimeSpan(0, 0, 0, 0, 25);...
1 2926 posted 15 years ago by pckujawa
0 1300 posted 15 years ago by coryschadt
1 938 posted 15 years ago by coryschadt
Calculate dir size recursive, follow the link above because the version above is better.
0 1303 posted 15 years ago by ginoplusio
2 1087 posted 15 years ago by czapata
Call it in the button click event after in(de)crementing CurrentPage value
0 945 posted 15 years ago by tomaszsimon
1 ... 350 351 352 353 354 ... 553