Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Change to line in page template file to call a different sidebar.
0
630
posted 13 years ago by lromak
This is just a quick and dirty template that I use to begin writing my apps. If you know of a better way to approach various portions of this code I would love to hear it. It\'s assuming you are using the latest PHP SDK and is positioned around Ifram...
3
901
posted 13 years ago by chrislorenz
Parameters: $array - haystack, $find-value - needle to check for duplicates
1
630
posted 13 years ago by stz184
If the optional parameter $crop is set to TRUE the image will be zoomed and cropped to specific size ($new_size). Else, the image will be resized to size, keeping aspect ratio and using $new_size as max size.
0
642
posted 13 years ago by stz184