
Search In
Convert bytes data to human readable form.
1. I initialized the byte with random number;
long bytes = 123456;
2. Initialize String[] of data types.
String[] types = {"kb", "Mb", "GB", "TB", "PB", "EB"};
3. initialize unit variable
Hello friends,
I have two date 2016-04-04 and 2016-08-31 and now I want to display its difference as 4 months 24 days format. I have created a function to return date difference in year, months and days format
$date1 = '2016-08-31';
$date2 = '2016
Hello Readers !!
Today we are going to discuss the Facebook integration in the Unity Apps/Games.
Facebook integration is very common things in today apps. Now each and every app has Facebook section in it. So for the success of App now it's ma
You need to parse an URL and return all the parameters from the URL, you can use the below javascript function:-
var getURLParameters = function(url) {
var result = {};
var searchIndex = url.indexOf("?");
if (searchIndex == -1 ) re
Hello Readers! In this blog we will be discussing about the different identifiers. What is the difference between them and when to use which identifier? First lets start with the const.
Const : is used to declare a variable whose val
Many times we run in a condition that the whole text is taking to much of space, so we need to show data upto certain limit and end it to ...(3 dots).
Usually we write code to check the length of the string and then trimming it, angular made i
How to solve Fatal Error Magento 1.xx on PHP 7
Error:
On upgrading PHP version , and running the Magento 1.9.x version you will get some "Fatal error: Uncaught Error: Function name must be a string" of Layout.php file on line 555.
Hey!
I am stuck in a weird problem for some 2 days,kindly help if someone knows what exactly it is.
Problem being, I have an app with tab view (3 swipe tabs somewhat like watsapp's tabs). Tab1 , Tab2 ,Tab3 .
Tab1 has edittext
Php Guys,
Why does this cURL show complete blank page ?
<?php
/*
ERROR HANDLING
*/
declare(strict_types=1);
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
mysqli_report(MYSQLI_REPORT_ER
We are facing a problem of choosing from many options that are available on the internet. Due to digitalization, there are now so many businesses that have their own websites and it becomes difficult to compare so many websites. However, there are so
