Toggle Column Snippets


Toggle a column bit regardless of state. Useful to change state without doing a query first to detect the state of the bit.

Get number of paragraphs in column 2 and display that number in an alert box. Including the one in the red box.

09 September, 2014   

Simple Javascript snippet that lets you toggle a group of checkboxes on or off at the same time. This is the format for your HTML form.

Returns the text between the specified delimiters in MySQL.

Returns the text between the specified delimiters in MySQL.

22 September, 2016   

A short javascript function to toggle checkboxes

Create in dbgrid one column and insert the caption "RecNo" or other in title property. In dbgrid onDrawColumnCell event insert the following code:

12 July, 2012   

PHP MySQL code to select row randomly fast

27 August, 2011   

The <frame> tag defines one particular window (frame) within a frameset. In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The document "frame_a.htm" is put into the first column, and...

Example for adding filter column to FilterControl, Devexpress controls

12 January, 2012   

Here shown a php code example how to associative Array by Column Name

PHP code to add sortable column to WordPress in admin area .

Example: There is a table, 'user', with a column, 'clear', containing values such as: `clear \'animal\' \'pass'\ ` and we would like to retrieve 'animal' and 'pass' ( without the pre & post \' )

Example code to update or convert the field to UPPERCASE.

11 October, 2012   

Python code example for Grid made by Label and Entry

An example of finding duplicate values in a table column

MySQL code to find all duplicates in a database column(s)n.

09 February, 2012   

Syntax for both the column and table aliases

02 January, 2012   

The ORDER BY keyword is used to sort the result set by a specified column.

21 September, 2011   

Selecting the maximum value of the column in the brackets.