The <ol> HTML element is used to create ordered lists. For example First item Second item Third item There are two useful attributes to make the most of ordered list.…
The following formulas show how to calculate the difference between two dates. The difference can be measured by: days months years days - ignoring years days - ignoring months and…
I use Microsoft Word's mail merge feature often. It works great for connecting into a database and spitting out all sorts of documents - but it's kind of clunky when…
The following T-SQL shows how to update a value using the results of a SELECT query. This applies to Microsoft SQL server (T-SQL) -- and will not work in MySQL.…
The following SQL statement shows how to combine a column into a single text string - separated by a comma. For example: Name Fred Jim Jane Betty Would be combined…
If you're building a string using an SQL statement, you can split results with "new lines" using CHAR() to insert the ASCII line break character into your string. For example,…
The following script (jQuery and JavaScript) shows how to set a random colour on elements - in this case, a background colour in inputs. function set_input_random_colour() { var random_colour = …
MySource Matrix users may be familiar with the ability to use keywords to automatically build content. This feature is particularly helpful when creating asset listings however there is a severe…