Row Number Snippets

26 February, 2015   

Simple and easy mySQL code to select the row number

06 November, 2014   

Example mysql code to select the row number

Procedural Programming technique shows creation of Pascal's Triangl

PHP code example to get All-Time Number of MySQL Queries

In this example we will select everything in our table "example" and put it into a nicely formatted HTML table.

If we wanted to select only certain entries of our table, then we would use the WHERE clause .

01 October, 2013   

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

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.

Make a MySQL Database called "db" with a table named "variables" with three rows ("id", "title", and "content"). Insert your data. Then call the page by going variables.php?id=1 etc.

31 December, 2011   

MySQL's MAX aggregate function will find the largest value in a group. here shown an example

22 December, 2012   

How to select a random row in MySQL

29 July, 2013   

Selecting a Random Row from Table in MySQL

The pyperl dist provide an interface to the Perl DBI ( This allow direct access to all the perl supported databases from python. Full documentation of the API from 'perldoc DBI' or the ORA "Programming the Perl DBI" book, by A. Descartes and T. Bunce.

14 March, 2013   

PHP code example to process MySQL Timestamp

13 July, 2013   

C programming code to check whether a number is armstrong or not.

23 October, 2012   

MySQL code example for sorting data in a GRID

Basic Database Connection, Random Query, Display Result

14 February, 2012   

Use this to size an array for your values

16 November, 2013   

You can use this function when you correct a iban number in your commercial projects.

PHP & Mysql based code to Print table with client-side sorting function.