Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This plugin created in order to prepend() numbering to each matched element
1
1447
posted 17 years ago by chchrist
Helpful for remembering useful CURLOPT constants. Taken from an example in the php manual comments.
3
2094
posted 17 years ago by DrewDouglass
This a simple wrapper for cgi, write in php, use stdin for post, and query_string env, for get
=)
0
1546
posted 17 years ago by renatoelias
I use this to activate basic forms for clients. Just make sure your form input names are named appropriately. Any inputs such as phone or fax that are separated into different inputs should have the same name.
1
2219
posted 17 years ago by dmautz1
as a note to self... in order to find it laters...
This will only alter the value of fieldname if the conditions in the WHERE clause are met. With replace we only replace a certain string within fieldname with the replace_with string
1
2279
posted 17 years ago by iroybot
Summarised snippet of Natbat's article: http://natbat.net/2009/Jun/10/styling-buttons-as-links/
Any link that that initiates an action, rather than just changing a page should semantically be a form with a submit button not a l ink. However you ca...
3
2776
posted 17 years ago by PeteW
Go to page, then place code in address bar and generated code will be shown in new window.
1
2326
posted 17 years ago by bionic
Put this into your ~/.bashrc script and you should see the Git/SVN status in your prompt if your working directory is a sandbox.
0
2211
posted 17 years ago by zingo
I modified this helpful snippet: http://snipplr.com/view/9904/aspdropdownlist-us-states-abbreviated/ to work for the Telerik RadComboBox control.
0
1865
posted 17 years ago by sonofabit
Add a "rollover" class and hover="img/src-hover.jpg" to the image in question.
2
2017
posted 17 years ago by mikemetcalf
This assumes the modules names are CamelCase and not UPPERCASE.
0
2645
posted 17 years ago by blasterpal