Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 431 432 433 434 435 ... 554
The best part about this script is that any table you put in the query on line 14 will be the headers and data in the CSV. No need to hand type out all the table headers unless you want to comment that section out and put in your own. So if you have...
2 1210 posted 16 years ago by fackz
0 846 posted 16 years ago by gerhardsletten
Show table size, number of rows, and size of indexes in MySQL.
1 1425 posted 16 years ago by zingo
* Resized images are generated into TARGET_DIR. * Change the resolution (800x800 in my example) and quality (80) as you want. * The command keeps the image's proportion. 1600x1200 will be converted into 800x600, 1200x1600 into 600x800. _Notice_:...
2 1350 posted 16 years ago by Dorgendubal
After postback
0 981 posted 16 years ago by tshortt
3 1165 posted 16 years ago by erik
2 1032 posted 16 years ago by iTony
This example demonstrates interpolation using Excel's =TREND function by converting 70 degrees F to 21 Celcius. =TREND({0,100},{32,212},70) The {..} arrays can of course be replaced with a cell range specifier.
0 1208 posted 16 years ago by jimfred
1 1044 posted 16 years ago by iTony
Starting from jQuery 1.3
1 1203 posted 16 years ago by omixen
There are 3 different ways to use Item Renderers.
0 1238 posted 16 years ago by chrisaiv
Wraps Contextual Product Search of zanox Web Services
0 936 posted 16 years ago by dne
Database backup function that you can call whenever you want — including nightly CRONs.
6 1382 posted 16 years ago by fackz
1 1067 posted 16 years ago by josephfritz
Founds this via http://www.flashcomguru.com/index.cfm/2009/2/17/regexp-validate-url
1 1160 posted 16 years ago by allnatural
Let's you render your .nfo Files to PNG Images.
1 852 posted 16 years ago by rizzn2k
This function clean up phone number and present it in styled way.
9 1292 posted 16 years ago by naz
Use instead of standard "sql\_tablesort()" function. Handles multiple "sort" in $header, but the arrow will be only on last sorted column. This can be handled with rewriting theme_table, for example.
0 1073 posted 16 years ago by kurokikaze
Here's a quick snippet of code to raise the minimum age of your site. Note that it is illegal to lower the legal age of your site under 13. Legal Disclaimer: Affiliate shall indemnify and hold KickApps, its licensors and each such party's parent o...
0 887 posted 16 years ago by krunkosaurus
These 4 lines of code can be used to extract and return all links from any page using regex patterns. If links are found, an array is returned, else boolean false is returned.
4 1584 posted 16 years ago by gdvickery
This method is a bit faster and more reliable then using the "explode" method. Works with PHP 4.0.3 and up.
4 1168 posted 16 years ago by gdvickery
Alternative to [http://snipplr.com/view/12616/strip-url-to-its-domain-name/](http://snipplr.com/view/12616/strip-url-to-its-domain-name/, "this snippet"), as it didn't come out clearly in the comments. Update - Edited based on gdvickery's commen...
3 1390 posted 16 years ago by duniyadnd
0 916 posted 16 years ago by java2025
1 ... 431 432 433 434 435 ... 554