Check Connection Snippets

14 February, 2012   

MySQL code to connect to db. Don't forget to change the parameters.

23 October, 2012   

MySQL code example for sorting data in a GRID

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.

26 December, 2012   

Email regex validation with MX check and communication. Sample code included. Returns bool valid code, bool condition code and str message.

07 September, 2014   

The "WITH CHECK OPTION" is used to indicate that Oracle will prevent any changes to the table or view that would produce rows that are not included in the subquery. When used in the subquery of a DML statement, you can specify this clause in a subquery in the FROM clause but not in subquery in the WHERE clause.

20 August, 2014   

Javascript function to check or uncheck all the checkboxes in a form.

07 February, 2011   

Check if Number is Even/Odd

02 June, 2011   

This will check an email, to see if it is in a valid format.

13 February, 2011   

Check for Empty Elements

29 March, 2012   

ASP code example to check reciprocal link

23 September, 2011   

ASP code snippet to check Reciprocal Link

15 July, 2013   

This is a method that can be used to take a connection string and a valid oledb command and perform a scalar. This returns an Integer/Int32 value.

Basic Database Connection, Random Query, Display Result

13 February, 2011   

Check if Checkbox is Checked

04 February, 2013   

Visual Basic code to check if value is decimal.

19 February, 2013   

PHP is_assoc_array function to check if given array is associative or not

The mysql_fetch_assoc "converts" a row from a table into an associative array. The mysql_insert_array "converts" an associative array into a row in a table.

05 May, 2012   

ASP code example with Sql Statement

How to check admin rights for XP and 2000