Difference between assigning a variable to NULL and unset. A variable is considered to be NULL if It has been assigned the constant NULL. It has not been set to any value yet. It has been unset(). Setting a variable to NULL means assigns the value NULL to the variable exactly as the variable is…
Difference between split and explode php Do you know what is the main difference between split() and explode()? No worries 🙂 , the main difference in split() and explode is the way, it uses to splitting a large string. Both the functions are used to Split a string. However, Split is used to split a…
Syntax uniqid (prefix, more_entropy); A unique website ID can be created in PHP using the uniqid () function. This function has two parameters that can be set. prefix This is what will be appended to the beginning of each ID. more_entropy If this is false or not specified it will return 13…
Share your WordPress post on facebook & other social networking website. If you want to share your WordPress page URL on social networking website, it’s very simple to do. Just place this function in your functions.php file, and call the function where do you want it to show. You can also use this function in…
Generally web master uses the WordPress for applying blog on their website. Below is the code for the getting recent/latest post or list, can be applied to display recent posts outside anywhere in your WordPress website. The key to use WordPress outside is include the wp-load.php file Once the wp-load.php file is included, the entire wealth of WordPress functions…
You usually need to move your blog (WordPress) if you are switching your web host as we generally work on localhost.You must also need to ‘move’ your website if you are transferring it to a new domain, new folder, or creating an alternate version on a local server. After uploading file and updating wp-config.php.We have…