Latest Articles

How to Compress Image Size Without Losing Quality in PHP

PHP provides the ability to compress images without losing the quality of it. Even more, we can resize images in PHP to generate thumbnails and lightweight web images. PHP has some default functions to compress images and to resize them. Many popular Core-PHP frameworks and CMS use default function to generate thumbnail and images without […]

How to Move Uploaded File in PHP

Move the uploaded file to its destination directory is very important via the back-end. PHP provides move_uploaded_file() method by default to move uploaded file. PHP Move_uploaded_file() Method In PHP uploaded file first goes to temp folder of server. The server discards uploaded files from the temp folder if not moved after uploading. So, moving the […]

Mysqli_fetch_assoc vs Mysqli_fetch_array [With Example]

mysqli_fetch_assoc() and mysqli_fetch_array() both are used to print result data of SQL query in PHP. Mysqli_fetch_assoc vs Mysqli_fetch_array has just a single difference in accessing resultant data. Difference between mysqli_fetch_assoc() and mysqli_fetch_array() The major difference between mysqli_fetch_assoc and mysqli_fetch_array is the output format of result data. mysqli_fetch_assoc returns data in an associative array and mysqli_fetch_array […]

How to Image Preview Before Upload Using JavaScript

Image preview before the upload is a basic and important feature nowadays in profile registration forms. Image preview helps the user to verify the image before uploading. Even more, the user can select another image if needed before submitting a form. Image preview feature can be implemented through JavaScript, jQuery, or any other JS framework. […]

How to Remove index.php From URL WordPress

Here we are going to learn how to remove index.php in the URL structure WordPress. As we know, permalinks are one of the most important factors of any website, and it’s easy to change permalink structures in WordPress. Follow the below steps to remove any extensions or to change the URL structure of any WordPress […]