Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This class operates a range of mysql functions base on arrays.
Example:
Name:
Description:
22
5920
posted 18 years ago by emuen
This was posted on the PHP website, I use it quite often. You may get a warning as it is an "unsafe" include (include($var)), but it's a risk that needs to be taken.
5
1024
posted 18 years ago by jgeewax
Sends mail to the e-mail address specified. Supports attaching files, multi-part message, and e-mail encodings. Works well with Asian cell phones.
2
1455
posted 18 years ago by IanLewis
Parses the given path and creates a http redirect to that page.
1
1244
posted 18 years ago by IanLewis
Say you want a containing block with 2 floating elements to expand around the floating element, usually this wouldn't happen since the container has no height because the floating elements are out of the usual flow.
The method below fixes this pro...
3
951
posted 18 years ago by 1man
callback in a form alter to enforce an exposed filter to use only the options set in filter. Works for selectlists only.
2
970
posted 18 years ago by berkes
If there will be multiple sets of these tags in a scanned XML string, you need the '?' after the '*' to specify a non-greedy (lazy) match.
4
1494
posted 18 years ago by rengber
Enter this command in Terminal to restart Apache. Especially useful after you've made changes to the hosts file.
2
1238
posted 18 years ago by jonhenshaw
This will highlight all functions not previously defined in PHP for the e text editor. They are assigned to the "entities" in the theme editor. By default, they are highlighted only when originally defined, but not when they are in use in your cod...
0
1376
posted 18 years ago by rjm1982