Welcome To Snipplr


Everyone's Recent Snippets



1 ... 325 326 327 328 329 ... 553
These are important object oriented principles (OOP) that one must understand in PHP to create dynamic web applications. I hope you find this useful in understanding inheritance.
0 1051 posted 15 years ago by alvincrespo
0 1169 posted 15 years ago by lancemonotone
After a problem with row break in a text field I found this way of searching within a where clause in an SQL query. Can be used for selection or update / replace purposes of course.
0 1979 posted 15 years ago by davidrinnan
This is a dynamic label generator for a project I'm working on. (Source files coming soon)
0 1161 posted 15 years ago by alvincrespo
Before taking a site "live", I password protect it except the robots.txt for search engines and custom Error pages. You can adapt this to your own use and add other pages in the FilesMatch directive.
0 1160 posted 15 years ago by abbey
0 1182 posted 15 years ago by jonniespratley
0 912 posted 15 years ago by peterbelsky
NumberTextBox is a control used to restrict input to numbers, function keys and arithmetic symbols only. Otherwise, it works just like a normal TextBox.
0 1245 posted 15 years ago by heatherk
Placed in the functions.php file.
1 1245 posted 15 years ago by jink
Use /* <![CDATA[ */ to make validators ignore the javascript code.
0 2885 posted 15 years ago by jaff
General MySQL engine related commands
0 1137 posted 15 years ago by sukantahazra
First there was: [http://snipplr.com/view/15246/color-coded-svn-status](http://snipplr.com/view/15246/color-coded-svn-status) Then there was: [http://snipplr.com/view/16540/color-coded-svn-status-v2](http://snipplr.com/view/16540/color-coded-svn-s...
0 1421 posted 15 years ago by philchristensen
This replaces all .pngx files with .png
0 1340 posted 15 years ago by joe-bbb
Check the URL to see image examples
1 1125 posted 15 years ago by Flanture
0 1205 posted 15 years ago by errkk
You have to add this code in your Bootstrap
1 1142 posted 15 years ago by asterfr
3 2606 posted 15 years ago by ikex
don't forget to take my email out :)
1 1463 posted 15 years ago by adkatrit
make sure the en1 value is the interface you are using
1 1407 posted 15 years ago by adkatrit
replace your "zipcode" with your zipcode
0 1241 posted 15 years ago by adkatrit
another bash quickie!
1 1330 posted 15 years ago by adkatrit
send every possible combination to stdout
0 1002 posted 15 years ago by adkatrit
this could be expanded to the billions place, but c'mon really people? it's got to call it quits somewhere
1 1645 posted 15 years ago by adkatrit
Will strip off the decimals of a number (price) unless they are necessary.
0 1120 posted 15 years ago by jmiller
1 ... 325 326 327 328 329 ... 553