[ Main Menu ] [ Extension Tools Menu ] [ Lite Edition Menu ]


<iRANDOM[DBNAME="Datasource Name"] (From Registry)
TABLE="database table"
[LOGIN="uid/pword"] (From Registry)

This tag requires the presence of a special table in the format "ID(int), weight(int), output(string)". The weights of all rows are summed. This is then multiplied by the random number. The weights are then counted down the list until the selection is made. The tag resolves to one of the table strings. Strings can be text, graphics, or other valid http file contents.
UsageThis can be used to display random advertisements, images, messages, etc.

iRANDOM Example
Example Source Code