How to create multiple database connections in Lumen. Last week I was working on a project in...
How to Swap Two Numbers in PHP
Write a PHP script to swap two numbers. In this tutorial, we are going to write a code to swap two...
How to Reverse a String in PHP without using strrev() Method
Write a script to reverse a string in PHP without using strrev() method. In PHP, we can reverse a...
How to Find Second Largest Number in Array using PHP
Write a PHP code to find second largest number in array. Given an unsorted array, we have to...
PHP Program to Print Prime Numbers between 1 to N using Sieve Algorithm
Write a php program to print prime numbers between 1 to N. In this tutorial, we are going to use...
Smarty Date Format – Convert Timestamp to Date, Time Format
How to convert timestamp to date and time format in smarty. You store the value of date and time in...
How to Find Factorial of Large Number in C and C++
Factorial of big numbers contain so many digits. For example factorial of 100 has almost 158 digits...
What is Memcache,How to use Memcache in PHP
Memcache is a high performance distributed in-memory object caching which improves the website...
C++ Program to Find Sum of Elements Above and Below Main Diagonal of Matrix
Here is the C++ program to find sum of elements above and below the main diagonal of square matrix...
Example of Matrix Multiplication in C++
Here you will get C++ matrix multiplication program. What we are doing in this program. Read number...
How does Bubble Sort in PHP
What is Bubble Sort? Bubble sort is a sorting algorithm, It works by comparing each pair of...
Java Code Examples PDF
Java is one of the world’s most important, widely used computer programming language. Unlike...
Java Code Examples
In 1991, James Gosling and his team developed Java at Sun Microsystems, Inc. The main...
HTML Table Rowspan Examples
HTML RowSpan: Allows a single table cell to span the height of more than one cell or row...
How to Get Operating System Using System Class In Java
Java Code: public class JavaDetermineOS { public static void main(String[] args) { String strOSName...