Create Text File Snippets


19 April, 2016   

A simple method that generates a MD5 hash from a given string. It should be compatible with PHP's md5() function (just lowercase the string).

13 October, 2012   

Code example to show current date and time

06 May, 2014   

This PHP script allows you to parse multiple feeds from different sources into separate pages using SimplePie class. A fast and efficient way to serve fresh content to your site as to provides the most up-to-date information to the readers.

Just some funzies with CSS3 animations. If you are worried about super deep browser support, use a GIF.

09 November, 2011   

How to set style of borders. here shown an example.

16 October, 2014   

When hover your mouse over a link, a small box containing contents from another page comes up. This will show the iframe with scrollbars if content (target page) is too big.

02 April, 2017   

Last name matches the user input and returns their phone and email information

10 October, 2013   

It is difficult brainstorming your own CSS font stacks for designing new webpages. This snippet may alleviate some torture and give you a few templates for getting started.

09 June, 2014   

JavaScript code for click to edit a table cell inline.

26 December, 2011   

Example PHP code to navigate calender in HTML pages

04 July, 2011   

Animation with threads by John E. Grayson

11 December, 2012   

MySQL Country Table With Abbreviations and Names

26 December, 2012   

Email regex validation with MX check and communication. Sample code included. Returns bool valid code, bool condition code and str message.