Web Rewrite

Technology Blog Where You Find Programming Tips and Tricks
  Menu
Skip to content
  • Home
  • Java
  • Programming Questions
    • Array
    • Linked List
    • Stack
    • Queue
    • String
    • Search Algo
    • Interview Questions
  • Solid Principles
  • Multithreading
  • PHP
  • Database
    • mysql
    • MongoDB
  • Contact Us
« Older posts
Newer posts »

Swap Two Numbers in PHP – Explain with Code Examples

By WebRewrite | March 4, 2017 - 7:42 am |March 4, 2017 PHP, Uncategorized
Leave a comment

Write a PHP script to swap two numbers. In this tutorial, we are going to write a code to swap two numbers in PHP.

There are multiple approaches by which you can swap two numbers.

i) We can swap two numbers using third or temp variable.

ii) We can swap two numbers without using third variable.

→

Tagged PHP, swap numbers

Java Program to Print Fibonacci Series upto N Number

By WebRewrite | February 26, 2017 - 4:36 pm |August 7, 2018 Java, programming
Leave a comment

Write a java program to print Fibonacci series up to N number, where N is the input integer. In this tutorial, We are going to write a java code to print fibonacci series.

→

Tagged Fibonacci Series, Java, Program

How to Create Multiple Database Connections in Lumen

By WebRewrite | February 4, 2017 - 2:01 pm |February 4, 2017 Laravel, PHP
Leave a comment

How to create multiple database connections in Lumen.

Last week I was working on a project in which I need multiple Database connections. I need one separate database connection for reporting (Only for a read operation) and another for the rest of the work (Read & write both).

→

Tagged laravel, Lumen, PHP
«‹4445464748›»
  • Support Me on PayPal

    Programming Video Tutorials


  • Related Posts (YARPP)

    1. How to Access Localhost from Anywhere using Any Device
    2. How To Install PHP, MySql, Apache (LAMP) in Ubuntu
    3. How to Copy File in Linux using CP Command
    4. PHP Composer : Manage Package Dependency in PHP
  • Topics

    • Multithreading

    • Linked List

    • Binary Tree

    • Hash Map

    • Java

    • Queue

    • Stack

    • Binary Search

    • Programming

    • Sliding Window

    • Composer

    • Memcache

    • Javascript

    • Solid Principles

  • Copyright 2020 – 2021 – webrewrite.com – All Rights Reserved.

  • Home
  • Java
  • Programming Questions
  • Solid Principles
  • Multithreading
  • PHP
  • Database
  • Contact Us
Web Rewrite | Powered by Mantra & WordPress.