List Drives Snippets

22 October, 2012   

Visual Basic sample source code to display all drives

18 April, 2012   

To show a list of all mapped network drives, use the GetNetworkDriveMappings function

Iterate enumerative and associate array using for loop in php.

30 August, 2015   

Loads the contents of a dir an sorts them by the date of creation.

By default Symfony displays forms in tables, with each new input being a table row. If you want to display your forms more semantically with fieldsets and lists, Symfony has a list formatter built in. You can tell an individual form to display as a list using the code below.

This function will not recurs subdirectories - it will only return a list of sub folder on the "first" level.

When developing applications that need to operate on files and directories it is a common task to, for example, get the list of all sub-directories for a given directory.

Example code for merge sort of an integer list

20 October, 2012   

Create dynamic variables from a query or a list.

An example of a simple double linked list using OOP techniques

27 August, 2012   

HTML code for Standard List Navigation

A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.

Java code example to list the Files or Subdirectories in a Directory

Delphi code to display the screen size and the list of fonts

PHP code to convert MySQL date to UNIX timestamp

How ot use MySQL REGEX match comma-delimitted list

30 October, 2013   

Find a key from a list of values​​. parameters: sbValues​​: List of Values 'A;B;C;D' sbToken: Key 'B' sbSeparator: ',' or any defined sbValues

An example code for Delphi function to check drive letter to see if its valid

This function builds an HTML select list from from data retrieved from a mySQL table.

C++ source code for singly linked list - insert, remove, add, count