SimplytheBest
Scripts

ASP scripts
PERL scripts
PHP scripts
JavaScripts & AJAX
Snippets
Online scripts

Publishers
Add script
Account login
Publisher list

RSS 2.0 Feed

RSS 0.91 Feed



 


 
Home > Scripts > Snippets > MySQL snippets

Show Latest Additions with PHP
This is a PHP snippet that shows how to extract the latest additions (What's New) from a MySQL table using PHP.
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
 

IN THE SPOTLIGHT
Spry
The Adobe Labs Spry framework for Ajax is a JavaScript library for web designers that provides functionality that allows designers to build pages that provide a richer experience for their users. It is designed to bring Ajax to the web design communi...
 

[BACK] [TOP]


 
   


Copyright © 1997-2009 SimplytheBest Inc. Terms of Use and Legal Disclaimer.
All copyrights are acknowledged. All rights reserved.