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

Tag Archives: PHP

« Older posts
Newer posts »

Reverse a String in PHP without using strrev() Method

By WebRewrite | April 2, 2017 - 2:56 am |April 2, 2017 PHP, programming
1 Comment

Write a script to reverse a string in PHP without using strrev() method. In PHP, we can reverse a string easily using strrev() method. But think how will you reverse a string without using an inbuilt strrev() method. →

Tagged PHP, programming, String Reverse

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

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
‹1234›»
  • Support Me on PayPal

    Programming Video Tutorials


  • Related Posts (YARPP)

    1. Race Condition in Java: Causes, Examples, and Solutions
    2. Find Second Largest Number in Array
    3. Check Balanced Parentheses in an Expression
    4. Sum of Digits of a Number using Recursion – Java Code
  • 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.