What is the difference between JRE, JVM and JDK?
JDK (Java Development Kit) Java Developer Kit contains tools needed to develop the Java programs, and JRE to run the programs. The tools include compiler (javac.exe), Java application launcher (java.exe), Appletviewer, etc… Compiler converts java code into byte code. Java application launcher opens a JRE, loads the class, and invokes its main method. You need [...]
Install Sun/Oracle Java JDK/JRE 7 on Linux Fedora, CentOS/RHEL
This is a guide about how to Install Sun/Oracle Java JDK and JRE 7 update 2 (7u2) on Fedora 16, Fedora 15, Fedora 14, Fedora 13, Fedora 12, CentOS 6.1/6/5.7, Red Hat (RHEL) 6.1/6/5.7. If you’re looking instruction for Sun/Oracle Java JDK/JRE version 6 installation on Fedora 16/15, CentOS/Red Hat (RHEL) 6.1/5.7, please check this [...]
PHP MySQL Update
The UPDATE statement is used to modify data in a table. Update Data In a Database The UPDATE statement is used to update existing records in a table. Syntax UPDATE table_name SET column1=value, column2=value2,… WHERE some_column=some_value Note:Notice the WHERE clause in the UPDATE syntax. The WHERE clause specifies which record or records that should be [...]
PHP MySQL The Where Clause
The WHERE clause is used to filter records. The WHERE clause The WHERE clause is used to extract only those records that fulfill a specified criterion. Syntax SELECT column_name(s) FROM table_name WHERE column_name operator value To learn more about SQL, please visit our SQL tutorial. To get PHP to execute the statement above we must [...]
PHP MySQL Select
The SELECT statement is used to select data from a database. Select Data From a Database Table The SELECT statement is used to select data from a database. Syntax SELECT column_name(s) FROM table_name To learn more about SQL, please visit our SQL tutorial. To get PHP to execute the statement above we must use the [...]
PHP MySQL Insert Into a Table
The INSERT INTO statement is used to insert new records in a table. Insert Data Into a Database Table The INSERT INTO statement is used to add new records to a database table. Syntax It is possible to write the INSERT INTO statement in two forms. The first form doesn’t specify the column names where [...]
PHP MySQL Create Database and Tables
A database holds one or multiple tables. Create a Database The CREATE DATABASE statement is used to create a database in MySQL. Syntax CREATE DATABASE database_name To learn more about SQL, please visit our SQL tutorial. To get PHP to execute the statement above we must use the mysql_query() function. This function is used to [...]
Connect to a MySQL Database with PHP
The free MySQL database is very often used with PHP. Create a Connection to a MySQL Database Before you can access data in a database, you must create a connection to the database. In PHP, this is done with the mysql_connect() function. Syntax mysql_connect(servername,username,password); Parameter Description servername Optional. Specifies the server to connect to. [...]

















