Count User Snippets


05 February, 2014   

We created a slide show that allowed the user to move through an array of images.

To get a user count the code below goes in your "global.asa" file which needs to go in the root of your web site. You web site must be properly set up as an application in IIS for this file to fire and do it's thing.

13 July, 2011   

This example uses count to count the number of times 0 appears among v1-v3 (putting it in z1) and likewise for v4-v6 (putting the count in z2). Then, if z1 is 3, then 9999 is placed in v1-v3 using a do repeat loop. The same is done for v4-v6.

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

Portable code to count the number of bits

18 January, 2012   

You can combine with SQL JOIN clause to show department name with count.

Apache Code example for blocking based on User-Agent Header

20 April, 2013   

You can create your own Exceptions in PL/SQL

The below snippet will create a MySQL user and grant them all permissions on the given database.

Maxscript UI & Graphical RPManager - Control multiple object properties with single object for

03 August, 2011   

By the below template we can make for-loop using xslt.

This MATLAB code snippet reads in a file stored in the current directory and stores specified lines from the file in a new cell array for manipulation in MATLAB.

16 June, 2012   

You can use JavaScript window.location to redirect a visitor to a required page. You may have seen this feature used by sites with full page ads, or to redirect visitors to the site's new domain name. You can add also a timer to the script that will allow the page to redirect and the visitors will not need to click a link or type in the new URL.

12 January, 2012   

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

15 November, 2011   

Showing how to read data (an integer) from user.

19 April, 2015   

Merges two strings in a way that a pattern like ABABAB will be the result.

Append Non-Breaking Space Between Last Two Words

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 \' )

24 July, 2013   

An example of how to use the mysql_real_escape_string

Examples of using of maxscript to reduce repetitive or difficult tasks.