HTML Form Processing in PHP

In this article on HTML Form Processing in PHP, I will explain how to process the Form data in PHP. Since, the HTML forms serve as means for gathering data from user, form processing is significant in any web application that allows users to interact. The following example explains how to retrieve user input from …

Array Examples in PHP

The following list provides a few Array Examples in PHP. Create an Indexed array and display its elements using both for loop as well as foreach loop. When do we use associative array rather than an indexed array? Create a program to demonstrate how to create an associative array. Find the sum of elements of …

Installing WAMP Server

This article on Installing WAMP Server provides instructions on installing WAMP server on Windows. Step By Step Instructions on Installing WAMP Server on Windows To begin with, first of all download the WAMP Server from its website. According to the configuration of your PC, you can either choose 64 BITS download or 32 BITS download. …

Understanding PHP Syntax

In this article on Understanding PHP Syntax, I will explain how to write simple programs in PHP. Also, you will learn how to create variables in PHP, data types, operators, and expressions. A Simple Program for Understanding PHP Syntax The following code shows a simple program to display text in PHP. Output The above code …

Brief Introduction to PHP

In this article on Brief Introduction to PHP, I discuss the features and drawbacks of using PHP. Introduction to PHP Programming In fact, PHP is a web-based programming language. PHP stands for hypertext preprocessing. Furthermore, we use PHP to create dynamic web applications. Although, PHP is easy to learn and use, it gives us all …

Understanding NodeJS With Examples

In this article on Understanding NodeJS With Examples, I will explain this server-side JavaScript runtime environment along with some examples. To begin with, let us first discuss the features of the node.js framework. Basically, Node.js is built on chrome’s V8 engine. It is open-source. It is a back-end JavaScript runtime environment and can execute JavaScript …

Java Code Examples

The following list presents some of the Java Code Examples. Basic Java Code Examples In order to find area of a rectangle, create a class Rectangle with data members length and breadth and member functions getDimensions() for reading input and findArea() to display the output. Write a program to demonstrate the use of method overloading …

C++ Practice Exercise

The following list presents a C++ Practice Exercise. Solve the Following C++ Practice Exercise Write a program to implement the ‘Inline function’ Implement call by reference and return by reference using class in a C++ program. [Hint. Assume necessary functions] Write a program to implement the friend function by taking some real-life examples Implement ‘Function …