Skip to content
CodeHasBug
  • Home
  • Tutorial
    • HTML
    • CSS
    • Javascript
    • jquery
    • PHP
    • MySql
    • wordpress
  • Technology
    • Windows
    • Android
  • Social Media
    • WhatsApp
    • Facebook
    • Instagram

PHP

How to get the previous page URL in PHP?

How to get the previous page URL in PHP?

April 17, 2022April 17, 2022 by Ashis Biswas

There are many times when you need to know the previous page URL after a redirect. Maybe you’re wondering where your traffic is coming from, …

Read more

PHP replace spaces in a string with dashes

PHP replace spaces in a string with dashes.

April 17, 2022April 17, 2022 by Ashis Biswas

In order to replace the spaces in a string with dashes, we can use preg_replace or str_replace(). So check the example first. Replace space with …

Read more

How to convert timestamp to time ago in PHP

How to convert timestamp to time ago in PHP

April 17, 2022April 17, 2022 by Ashis Biswas

We have seen on social media platforms that if someone posts something, the time is given below that post, such as 5 minutes ago or …

Read more

Methods with the same name as their class will not be constructor

Methods with the same name as their class will not be constructors in a future version of PHP

April 14, 2022April 14, 2022 by Ashis Biswas

Lots of users are facing this issue whenever they upgrade their PHP7. Because PHP7 does not allow the same class name as the constructor and …

Read more

Warning: count(): parameter must be an array or an object that implements Countable

April 12, 2022April 12, 2022 by Ashis Biswas

This is a very common error when we pass the non-array to count() function. You will get the exact same error message as below- Suppose …

Read more

The mbstring extension is missing. Please check your PHP configuration

April 12, 2022April 12, 2022 by Ashis Biswas

PHP use Mbstring (multi-byte string) extension to convert strings to a different encoding. It is used to express more than 256 characters in a regular …

Read more

Post navigation
Older posts
Page1 Page2 … Page4 Next →

Enjoying the articles? I would appreciate a coffee to help me keep writing and coding!

Trending Now

  • PHP replace space with dash
  • jQuery disable button
  • CSS make text unselectable
  • Prevent copying website content
  • PHP post array data
  • PHP foreach break

Recent Posts

  • How to get the previous page URL in PHP?
  • How to convert timestamp to time ago in PHP
  • PHP replace spaces in a string with dashes.
  • Insert item into a specific index of an array
  • How to Capitalize the first letter in jQuery?

Recent Comments

  • چاپخانه on How to Align Multiple Images Horizontally in HTML
  • Johnne on 5 Tips to Help You Save Time and Effort on a Daily Basis by Using a Free Instagram Video Downloader
  • Eraush on Create 3 Types of Horizontal and Vertical News Ticker Only With HTML & CSS
  • Eraush on Create 3 Types of Horizontal and Vertical News Ticker Only With HTML & CSS
  • Jens on Create 3 Types of Horizontal and Vertical News Ticker Only With HTML & CSS

Categories

  • Android
  • Android Apps
  • CSS
  • Featured
  • HTML
  • Instagram
  • Javascript
  • jquery
  • PHP
  • Technology
  • Tutorial
  • Web Design
  • WhatsApp
  • Windows
  • wordpress

  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • DMCA policy
© 2019 - 2022 CodeHasBug. All rights reserved. | Sitemap | DMCA.com Protection Status
  • Home
  • Tutorial
    • HTML
    • CSS
    • Javascript
    • jquery
    • PHP
    • MySql
    • wordpress
  • Technology
    • Windows
    • Android
  • Social Media
    • WhatsApp
    • Facebook
    • Instagram