Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
To use just edit the Twitter user ID which appears at the bottom of the snippet. You may want to change the location where the tweets are cached, by default they are stored at the root level of your domain. The reason for caching is that Twitter limi...
0
1094
posted 14 years ago by f6design
This is a simple 'text to array for output' script that I've used a few times for my clients. Hope you like!
0
930
posted 14 years ago by chicagowebmanagement
A PHP proxy for jQuery AJAX cross-domain requisitions, created to support friendly-url API\\\\\\\'s.
3
1318
posted 14 years ago by hisamu
This function is usefull and simple, specially when u create users databases
1
966
posted 14 years ago by zenco
searching for a date sort function I found: http://slevy1.wordpress.com/2010/06/30/sorting-date-strings-in-php/ and built my codeigniter helper
call : $arrSortedDates = bubbleSort( $unsorted ); (previous->helper autoload)
0
746
posted 14 years ago by lluisr
Replace "getMyAttribute" with "get" followed by the attribute name in camel case.
0
684
posted 14 years ago by Groove
PHP scripting block can be placed anywhere in the document. It always starts with <?php>.
The example of PHP code below sends the text “Oheon.com†to the browser:
0
736
posted 14 years ago by Masis
Gets string and length and return string of given length. Makes sure half word in not in the end.
0
643
posted 14 years ago by nilambar
To use:
$update_sql = querys($sql);
or
$select_sql = getresult($sql);
Used simplify selecting rows from a database. You'll need to pass in the SQL statement.
0
769
posted 14 years ago by shawntysco
Used to delete rows from the database. \r\nTo use:\r\n$del = delete(\"quick_links\", $_GET[\'id\']) ;
0
658
posted 14 years ago by shawntysco