I am explaining you, how to remove duplicate values from Array in PHP. it is simple to delete duplicate values from an PHP Array.PHP provide pre-define function array_unique that can remove duplicate values from Array. with the use of pre-define function array_unique() we can get only unique value from array. Example: Result: Azhar ShaikhHello, Welcome […]
Author: Azhar Shaikh
How to Export Mysql Database with use of Command Line in Ubuntu?
I am explaining you, how to export mysql database using command line in ubuntu. you can understand a concept of mysql export database via command line. When you have large size of database then you can not easily export from phpmyadmin. so you need to use mysql commands for it. so here I am writing […]
Create Directory If It Doesn’t Exist in PHP.
if you want to create folder if not exist. you can understand a concept of php create directory if not exists. I am giving you example of php code to create directory if not exists. I am explaining you, how to create directory if not exist php. In example, we will use is_dir() and mkdir() […]
How to Disable a Anchor Tag in HTML using css, jquery and javascript ?
you want to disable anchor tag in html using css, jquery and javascript. you will learn how to disable a tag in html. I am explaining you, how to disable anchor tag in html using css. let’s see example : Example 1 : I am explaining you, how to disable anchor tag in html using […]
jQuery Remove Last Element from an Array.
you want to remove last element from an array without any loop. you can remove last element from array without loop. I am explaining you, how to remove last element from an array. let’s see example : Result : Azhar ShaikhHello, Welcome to webdeveloperindia.in. I am a full-stack web developer. Email – [email protected] | Skype […]
jQuery Remove First Element from Array
you want to remove first element from an array without any loop. you can remove first element value from array without loop. I am explaining you, how to remove first element from an array. let’s see example : Result : Azhar ShaikhHello, Welcome to webdeveloperindia.in. I am a full-stack web developer. Email – [email protected] | […]
PHP Subtract seconds from datetime
If you want to subtract seconds from datetime in php. I am explaining you simply step by step how to subtract seconds from current time with PHP. you can understand a concept of how to subtract seconds from time in php. let’s see example about how to subtract seconds from time in php.Here, I created […]
JavaScript find last element value from an Array
if you want to find last element value from an Array using Javascript so I am explaining you how to get last value in array. let’s see example how to get last value : Azhar ShaikhHello, Welcome to webdeveloperindia.in. I am a full-stack web developer. Email – [email protected] | Skype – azaruddin23. I have knowledge […]
Remove Null values in PHP array
you want to remove all null value from an array without any loop. you can remove all null value from array without loop.I am explaining you, how to remove null value from an array. let’s see example how to remove null value : Result: Azhar ShaikhHello, Welcome to webdeveloperindia.in. I am a full-stack web developer. […]
Check If Date is Past Date in PHP?
I am showing you how to check date if it is past date in php. I am explaining you step by step if date is before today. you can see php check if date before today. here is the example of how to check if date is past date or not in PHP. so let’s […]