I would have to say I could not live without pear. http://pear.php.net It is quick and clean, ive reused it in about 3-4 projects easily. Its built into php when you download php. just run the go-pear batch file in the root directory, and it will set it up easily. From there you can get real organized with your code. Try to play around with it if you havent looked at it yet, its great. Not exactly 'code snippits' in the sence of reusable functions, but great for reuse project to project.. phpninja -----Original Message----- From: Murray @ PlanetThoughtful [mailto:lists@xxxxxxxxxxxxxxxxxxxx] Sent: Wednesday, November 03, 2004 10:17 AM To: php-general@xxxxxxxxxxxxx Subject: 'Code Snippets' you couldn't live without Hi All, I'm curious to know what other members of the list think of as the code snippets they couldn't live without when working on a PHP project. IE, the kind of re-usable bits and pieces that make your life a lot easier. For myself, I have an include file in which I define 'shorthand' functions for functions etc I use on a regular basis. Eg: function asl($val){ return addslashes($val); } function mfr(&$rset){ mysql_free_result($rset); } ...and so on. Just thought it would be interesting to see what others do to make programming more bearable. Much warmth, Murray http://www.planetthoughtful.org Building a thoughtful planet, One quirky comment at a time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php