I am explaining you, how to merge two array into single array in php. we can use array_merge() function in php code so that will merge two different array into single array.here I having two array called arrayfirst and arraysecond array, I will merge both array into single array with arraymerge new array. Example : […]
Author: Azhar Shaikh
PHP How to check if a variable is null?
I am explaining you, how to check if a variable is null or not in PHP. I will check null values through is_null() function in PHP. Example : Output : Azhar ShaikhHello, Welcome to webdeveloperindia.in. I am a full-stack web developer. Email – [email protected] | Skype – azaruddin23. I have knowledge of PHP, Laravel, Magento […]
PHP how to generate random numbers?
I am explaining you, how to generate random numbers in PHP. I will use rand() function to generate random numbers. rand() function can able to use to generate a random number with specific range like starting number is 1 and ending number id 999 so it will generate random number in between. you can use […]
How to select all text content of input textarea in ReactJS
Today, I am explaining you, how to select all text content of input textarea in ReactJS. if you are working in ReactJS so this post in very useful to you. I will show you through some events like onClick, onFocus and useRef hook. I am explaining you three ways with use of e.target.select() method. Table […]
How to remove spaces from string in ReactJS
Today, I am explaining you, if you are working in ReactJS so how to remove all spaces from string in ReactJS. in some custom requirement we need to remove spaces from string so we can use it. here, I will use string replace function for remove spaces from string. Example : Output : Azhar ShaikhHello, […]
How to submit HTML Form Using jQuery Ajax in PHP
Hello, In this tutorial, I am explaining you how to submit HTML form’s fields values/data using jQuery Ajax to PHP file. AJAX is useful for send form data to server site without refresh to page. if you want to send data to PHP file without reload you need to use Ajax request process.Here, I am […]
use parseInt() in JavaScript
in this post, I will explain about the parseInt function in JavaScript. how to use parseInt() in JavaScript. parseInt() parses a string and returns as an integer or NaN. The main purpose of use the parseInt function is to extract number from a string. it returns value to an actual number. Syntax : Example : […]
How to Install Magento 2 on Wamp Windows
Hello folks, I am explaining you, if you are looking how to install Magento 2 version(2.3.0) so this post is very useful for you. here you need to have Wamp server installed in localhost and Magento 2.3.0 that requires for PHP(7.2). I am giving you some scratch and step by step process for how to […]
How to use/format dates in ReactJS
I am explaining you, how to use/format dates in ReactJS.ReactJS is a JavaScript library so you can easily use Javascript code. here my current component name is Unity.if you want to use/change dates format so you need to install moment package in ReactJS. below I mentioning you package install command through npm. Example 1 : […]
How to Import Mysql database with use of command line?
I am explaining you, how to Import Mysql database with use of command line.When you have large size of database then you can not easily import from phpmyadmin. so you need to use mysql import command for it. so here I am writing simple command to import large size database using command in ubuntu. Syntax […]