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 1043 posted 15 years ago by alvincrespo
0 1157 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 1933 posted 15 years ago by davidrinnan
This is a dynamic label generator for a project I'm working on. (Source files coming soon)
0 1145 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 1153 posted 15 years ago by abbey
0 1171 posted 15 years ago by jonniespratley
0 904 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 1235 posted 15 years ago by heatherk
Placed in the functions.php file.
1 1231 posted 15 years ago by jink
Use /* <![CDATA[ */ to make validators ignore the javascript code.
0 2806 posted 15 years ago by jaff
General MySQL engine related commands
0 1127 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 1408 posted 15 years ago by philchristensen
This replaces all .pngx files with .png
0 1331 posted 15 years ago by joe-bbb
Check the URL to see image examples
1 1117 posted 15 years ago by Flanture
0 1197 posted 15 years ago by errkk
You have to add this code in your Bootstrap
1 1133 posted 15 years ago by asterfr
3 2597 posted 15 years ago by ikex
don't forget to take my email out :)
1 1456 posted 15 years ago by adkatrit
make sure the en1 value is the interface you are using
1 1400 posted 15 years ago by adkatrit
replace your "zipcode" with your zipcode
0 1226 posted 15 years ago by adkatrit
another bash quickie!
1 1320 posted 15 years ago by adkatrit
send every possible combination to stdout
0 987 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 1639 posted 15 years ago by adkatrit
Will strip off the decimals of a number (price) unless they are necessary.
0 1111 posted 15 years ago by jmiller
1 ... 325 326 327 328 329 ... 553