Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This plugin created in order to prepend() numbering to each matched element
1
1519
posted 17 years ago by chchrist
Helpful for remembering useful CURLOPT constants. Taken from an example in the php manual comments.
3
2181
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
1634
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
2329
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
2388
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
2877
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
2432
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
2326
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
1964
posted 17 years ago by sonofabit
Add a "rollover" class and hover="img/src-hover.jpg" to the image in question.
2
2138
posted 17 years ago by mikemetcalf
This assumes the modules names are CamelCase and not UPPERCASE.
0
2759
posted 17 years ago by blasterpal