Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
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
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
Use /* <
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 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