Connect To Database Snippets


24 September, 2012   

Connects to a database, and runs a query

18 June, 2013   

Define few variables with your MySQL database connection settings and connect to MySQL database using mysql_connect() and mysql_select_db() functions.

13 April, 2011   

Connecting to a MySQL database to make the data from the database available in your Web application, can be done in many different ways. Here are two often used methods.

15 June, 2014   

Example for updating a record in a database with perl and the DBU module.

09 May, 2011   

This is a general code to use when inserting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. An extention of this code would be to make sure the entry you are adding to the database doesn't already exist (to save dupicate entries). Note: This code requires you to connect to the MySQL...

14 May, 2011   

This is a general code to use when updating an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. Note: This code requires you to connect to the MySQL database to work. Also, all field and table names need to be set up to match.

14 May, 2011   

This is a general code to use when deleting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. A variation of the code would be not to delete the record (as you tend to always need to restore or retrieve it sooner or later) you can add a 'status' field. If status='d' then it is...

21 May, 2012   

PHP example for connecting to MySQL

23 October, 2012   

MySQL code example for sorting data in a GRID

11 July, 2013   

Help manage mysql database common task

07 April, 2013   

A simple example code for user login with a login form and database query

Basic Database Connection, Random Query, Display Result

30 August, 2011   

Calculates the total size of a MySQL database in KB/MB or GB...

01 October, 2013   

This class has lots of common functionality built right into it. It also supports Mysql and Sphinx.

09 April, 2013   

How to "bounce" an Oracle database

09 May, 2011   

This is a general code to use when selecting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. Note: This code requires you to connect to the MySQL database to work. Also, all field and table names need to be set up to match. This MYSQL Code using in PHP

Internal Mail System or private messaging system. Easy to embed into your own projects.

30 December, 2010   

AS2 connect navigation

05 July, 2012   

Backup MySQL Database to SQL File with mysqldump

15 December, 2012   

Allows you monitor how many times a link/image/banner is clicked.