 |
 |
| |
|
|
|
|
|
By:
SimplytheBest Inc. Requires: PHP 3+, MySQL
Price: Free
|
|
| |
Extracting a random record
To extract a random record from f.e. a MySQL table you can use this sample PHP code to get you going. The snippet uses rand() to generate a random number and LIMIT to select the record from the SQL table.
|
By:
SimplytheBest Inc. Requires: PHP 3+, SQL
Price: Free
|
|
| |
Connect to MySQL database
PHP snippet to connect to a MySQL database using a file for the connection and an include statement in the page needing to connect.
|
By:
SimplytheBest Inc. Requires: PHP, MySQL
Price: Free
|
|
| |
|
|
|
|
|
[BACK] [TOP] |
|
|
 |