PHP MySQL

PHP get data from external url encoding UTF-8

If you want loading a HTML from an external server. It doesn’t matter if you want to get content from page with meta charset=”utf-8″, we use file_get_contents() function normally. But if it is not utf-8, another code like Shift_JIS or any...

Read more...

How to Sending Emails using PHPMailer

In php there is a mail function that helps you send mail, but this function has many limitations in use, specifically hosting rarely allows you to send mail with this function. To handle sending mail, we can use support libraries such as PHPMailer,...

Read more...

Convert PDF to text file using PHP

If you need to read data from PDF converted to text file using PHP, the following example will solve that problem. It is very simple and concise, easy to do. This example uses pdfparser library to read text, image files in pdf files....

Read more...

Jquery Javascript

Jquery & Javascript Code snippet might be helpful for you

Jquery & Javascript Code snippet might be helpful for you. Javascript, jquery, onclick event, closest method, jquery ajax callback, javascript dom table object,… 1. Onclick event Method 1: <button type=”button”...

Read more...

Add and Remove input textbox with Jquery, Javascript

Hello everyone, to continue the series of articles about Jquery and Javascript, in this article I introduce you to the small code about adding and removing form elements using Javascript, with specific example is input textbox. On the same screen, you can...

Read more...

Getting Latitude and Longitude from a Click Event

When we get the coordinates of a location in the world, we can get a lot of information about it. These include weather information, traffic, economic information, pricing, … The use of google maps makes it easy to get the coordinates of the place we...

Read more...

VueJS

Get Football ranking table with free API

For sports fans it is common to follow the matches, update results, standings and player information. There are many websites, APIs that give us such data. However, today I would like to introduce how to get the rankings, top football leagues by free api on...

Read more...

Frontend form validation with VueJS

Hello everyone, in all forms such as login, registration or checking information, etc. In Frontend we need to validate the data for it before it is processed in the backend and saved to the Database. Checking data in Frontend form using VueJS is a way to...

Read more...

Simple example for VueJS Search Filter

Search is an extremely important component in every website that contains many categories and components. Especially the site about e-commerce, blog, news, etc. All need the search function to select information. This article applies to the quick search of...

Read more...

Database

How to connect PHP to MySQL database on another server using PDO and MySQLi

If normally the source code and database are on the same hosting server, you only need to set the server name to localhost. However, in many cases where we need to use an additional database or have an external server IP range, a little setup is required on...

Read more...

Some useful MySQL query commands

This article lists some MySQL commands that may be helpful for you. I. MySQL commands 1. COUNT and GROUP BY If you want to display a list of how many tutorials are written by each user, you can use COUNT and GROUP BY. For example, we have the Blogs table...

Read more...

Move large mysql database to new server

We all know the importance of a database in every system, in this article we ask you to back up, move database to another server. This will be easily handled if your db has a small number of records. And if the number of records is too large (a few million...

Read more...