Creating a table in PhpMyAdmin Xampp server.

Hello People. In this post we will discuss that how you can create a table in phpmyadmin xampp server for your php project. Before creating a table first you must create a database, because without database you can not create a table. steps to create a table in phpmyadmin. Start your Xampp server and open the following link in your browser. localhost/phpmyadmin . Now click on the New button. ...

January 16, 2019 · 1 min · Harshvardhan Malpani

How to add color gradients in HTML text?

To fill text with a colour gradient instead of a single colour, you paint the gradient as the element’s background and then cut the background down to the shape of the letters. It takes three CSS lines and no images, and the text stays real text that can be selected, copied and read by screen readers and search engines. .gradient-text { background: linear-gradient(to bottom right,#f27990, #332b75); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } What each line does: background: linear-gradient(to bottom right, #f27990, #332b75) paints a gradient across the element’s box, from pink in the top-left corner to dark purple in the bottom-right corner. You can add more colours, separated by commas, or change the direction, for example to right. -webkit-background-clip: text clips the background to the text, so the gradient is only painted where there are letters. -webkit-text-fill-color: transparent makes the letters themselves transparent, so the gradient behind them shows through. Without it, the normal text colour would cover the gradient. To use it, add the class to any element, for example <h2 class="gradient-text">. The live example below uses the same three rules under the class name gradt, with slightly different colours (#f27370 to #442b75). ...

January 15, 2019 · 2 min · Harshvardhan Malpani

5 ways to redirect your Web page?

Hi Everyone! In this post we will be learning about redirects. And see how you can redirect your web-page. We will see two ways to redirect web-pages: Through your registrars’ Cpanel. Right into your code. Through cPanel redirect feature You can easily redirect your visitors from one page to another with the help of the Redirects feature. To setup a redirection, access your website’s Control Panel and locate the Redirects menu. ...

January 12, 2019 · 2 min · Harshvardhan Malpani

Connection timeout with MySQL database.

MySQL disconnects automatically after some time. If a connection sits idle for longer than the server allows, MySQL closes it. The next query your code sends on that connection then fails, typically with “MySQL server has gone away” (error 2006) or “Lost connection to MySQL server during query” (error 2013). Long-running scripts, cron jobs and background workers that open one connection and keep it are the usual victims. If you experience MySQL timeouts, it could be due to heavy or very long MySQL queries. ...

January 8, 2019 · 3 min · Harshvardhan Malpani

How to hide a specific category from Google Index in Magento 2?

Some categories shouldn’t show up in Google: a hidden category for a landing page, a staging or test category, or one with thin or duplicate content. Magento 2 lets you set a default robots value for a whole store, but not for a single category. You can still do it without touching code, by adding a robots meta tag to that category’s layout from the admin. In Magento Admin Panel, Go to Catalog in Left Menu > Categories Select the category you want to edit and in Design Section > Layout Update XML, put this value: ...

January 7, 2019 · 2 min · Harshvardhan Malpani

ReactJS: Create your first react app.

React is one of the most in-demand and popular JavaScript library. And the reason is simple it gives you the ability to create complex User Interfaces with minimal and simplified code. In this article we are going to go through the installation process and the process of creating your first react app. Creating a react js app. There are a few different ways of creating a react app. But the simplest way is using a CDN – link. This allows you to start using ReactJS instantly, without any installation setup. ...

January 4, 2019 · 2 min · Harshvardhan Malpani

How to learn Git in 15 minutes? List of most basic git commands

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. Every dev has a working copy of the code and full change history on their local machine Here are some most important and useful GIT commands that will surely help you. ...

January 2, 2019 · 3 min · Harshvardhan Malpani

How to edit default python version for a linux user?

On older Linux servers such as CentOS 7, typing python still starts Python 2, even after you’ve installed a newer Python 3 yourself. If you want python to start your new version for your own user only, an alias in .bashrc is the simplest way. It doesn’t touch the system’s Python, which matters on CentOS 7 because yum depends on Python 2. Edit the bash profile and add an alias using the following code: ...

December 31, 2018 · 2 min · Harshvardhan Malpani

NodeJS: JavaScript powering the backend.

Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. NodeJS is a JavaScript engine that you can install in your own system. Also, NodeJs makes it possible to use JavaScript in backend development as a backend programming language. (Cool! isn’t it.) You need to know this. Node isn’t a program that you simply launch like Word or Photoshop: you won’t find it pinned to the taskbar or in your list of Apps. To use Node you must type command-line instructions, so you need to be comfortable with (or at least know how to start) a command-line tool like the Windows Command Prompt, PowerShell, or the Git shell. ...

December 30, 2018 · 2 min · Harshvardhan Malpani

Your PHP installation appears to be missing the MySQL extension, required by WordPress

The error message “Your PHP installation appears to be missing the MySQL extension which is required by WordPress” can appear when you are using a PHP version which is incompatible with your scripts version. Meaning your WordPress installation is most likely outdated. Since the ‘MySQL’ extension is no longer supported from PHP 7.0 and beyond, changing your PHP version to 5.6 or lower will fix the issue. This can be done via your website’s control panel’s PHP Configuration section. ...

December 28, 2018 · 3 min · Harshvardhan Malpani