How To Export Databases in MySQL or MariaDB

Export Databases in MySQL or MariaDB Export databases is a basic task for all web developers when using MySQL or MariaDB. Use MySQL dump for database backup its require for migration or server exchange.  Use my mysqldump for export single, multiple or all databses.  Command for MySql or MariaDB Database export. Nginx server database export […]

Get All Records of Zoho CRM by Using PHP Curl

Access Zoho API using PHP Curl Access Zoho API and Fetch all Zoho CRM records after create Zoho Postman Access token and refresh token with create PHP Curl. Fetch Zoho CRM Data using API <?php $url = “https://accounts.zoho.in/oauth/v2/token?refresh_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=refresh_token”; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); $output […]

use JSON.parse() and JSON.stringify() in JavaScript

How to use JSON.parse() and JSON.stringfy() in JavaScript JSON.parse() Its convert JSON String to JavaScript Object. Its help to convert text into JavaScript Object. Use of this method convert JSON string into object and access single values using the dot. So at last its helps to convert JSON String to JS Object. When receiving data […]

Ngnix Process Usefull commands for Managing Linux Ngnix Server

Managing Linux Ngnix Server Usefull terminal commands   $ sudo systemctl stop ngnix Stop Ngnix web server.   $ sudo systemctl start ngnix Start you Ngnix linux webser, after stop your ngnix server   $ sudo systemctl restart ngnix Stop then start your Ngnix Linux server user above command, its usefull command when server working […]

Linux Sudo command Usage and Benefits

Linux Sudo Commands Linux sudo command use as system administrator, its execution on root. its allow to non – root user to run Linux administrator  command which is restricted for other user.  With using non root user can access the root account and can be control administrator. List of Sudo Command sudo -i sudo -V […]

Change a folder or directory permission in Linux Nginx server by Putty

Below Linux command run for set all permission recursively for all files and folder contain in folder.   sudo chmod -R 777 /var/www/wordpress/plugins/ above command run in putty with using Linux.   Check current permission set for all files and folders in current directory. sudo ls -1 /var/www/wordpress/plugins check current permission of a file ls […]

Get author name of blog posted in WordPress

How to each blog post Author name in Blog anywhere using PHP in WordPress <?php $author_id = $post->post_author; echo get_the_author_meta(‘display_name’, $author_id); ?>  

Video : PHPMailer Install with Composer and Solve SMTP Error not authenticate using Gmail PHP Mailer

PHPMailer Install with Composer and solve SMTP error: Could not authenticate PHP developer setup PHPMailer for sending mail by PHP code. PHP mail() function also supports directly sending mail but some time Server or Localhost required an SMTP port setting so the developer is required to install or unpackage PHPMailer.   Watch Youtube Video Tutorial […]

Create a Unique ID by JavaScript Function and Store into Variable

  Create Unique ID by JavaScript   There are different way to generate Unique ID or unique identifier number in JS. Its very useful and use in may cases rendering list or identify recordsd in database. <script type=”text/javascript”> function createUniqueId(){       const head = Date.now().toString(36);         const tail = Math.random().toString(36).substr(2); […]

With PHP MySQL Query retrieve fetch all WordPress Blog categories in JSON REST API

PHP MySQL database query for fetching categories data in JSON Format.   I run my WordPress website with MySQL database so need to fetch the database categories post data in JSON format and use it on another website created with REST API. In the below code, I will provide MySQL queries that can run on […]