Xhtml Code Snippets


01 October, 2013   

This php code for mail someone from your code

07 December, 2013   

This code is for iterating through a cursor

27 March, 2012   

This PL/SQL code is for iterating through a cursor

12 February, 2015   

JS sniffer detects browser and OS.

12 January, 2013   

Search the source code of all stored procedures.

14 May, 2011   

This is a general code to use when updating an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. Note: This code requires you to connect to the MySQL database to work. Also, all field and table names need to be set up to match.

30 August, 2012   

CSS code example for stylish submit buttons

26 July, 2012   

Java code example to append text to file in Java

09 July, 2011   

How to sort array in smarty template? Create sort modifier file and save it in smarty / plugins with modifier.sortby.php name use this modifier in smarty template like... {foreach item=item key=key from=$users|@sortby:"firstname"} {$item.id}-{$item.firstname} {/foreach}

09 July, 2013   

Show user's IP Address using a few lines of code, Place the code where you want the IP address to appear:

28 June, 2012   

Function to generate soundex code for any string (usually a name). Conforms to Knuth's algorithm and the common Perl implementation.

MySQL code to Find PHP code in database Drupal 6.x

13 February, 2013   

Place line numbers in text output format using CSS and PHP

How to Insert comments in the HTML source code

01 June, 2013   

How to Embed code for Windows Media

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

11 May, 2017   

The following code uses bitwise operators to determine if an unsigned integer, x, is a power of two.

09 February, 2013   

Very simple small code to generate random password

23 February, 2012   

XML Code to display XML data in an HTML table