Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
AnyChart JS Charts and Dashboards 8.2.0
GetOrgChart 2.4.8
Output Messenger 1.8.0
ODBC Driver for SQLite 2.3
Devart ODBC Driver for Oracle 2.3
PHPScriptsmall 1.0
Easy Button & Menu Maker 5.2
PHP Business Directory Script 1
ODBC Driver for Firebird 2.3
Event Booking Solutions v2.0b5
ODBC Driver for SQL Azure 2.3
Raduga 1.07.0010
ODBC Driver for SQL Server 2.3
Whatsapp Clone Script 1.0
Grubhub Script, Eat24hours Clone 2.0.1
Top Code
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
Readymade MLM Products 2.01
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Report About Get Random Record Based on Weight 1.0.0
- required fields

Please enter text on the image
  



This snippet allows you to get random record from given table by weight. To run it, it must have a field named "weight". The more "weight" is assigned, the more often the record is selected. The value of "weight" should be an integer between 1 and 10 (or anything else).

Back