MySQL INSERT … SELECT statement provides an easy way to insert rows into a table from another table. If you want to copy data from one table to another in the same database, use INSERT INTO SELECT statement in MySQL.

By: CodexWorld Apr 26, 2017
PHP

Are you want to calculate the difference between two dates in PHP? There are a simple way to get the number of days between two dates in PHP. Use date_create() and date_diff() function to get number of days between two dates in PHP.

By: CodexWorld Apr 18, 2017

CodeIgniter uses the segment-based approach to design URLs human-friendly or seo-friendly. By default, the index.php file will be included with the URLs in CodeIgniter. But you can easily remove the index.php from the URL using .htaccess.

By: CodexWorld Mar 13, 2017
PHP

The GD library is required to create and manipulate images in PHP. You need to enable GD library support for working with image functions in PHP. Here we’ll show you how to install GD library in PHP on Windows server. Follow the step-by-step instruction to install PHP GD library in XAMPP or WAMP server.

By: CodexWorld Nov 1, 2023

At the time of working with Ajax in the web application, request monitoring is very useful. Monitoring Ajax requests on browser makes easy to debug Ajax call. This short guide will help you to see ajax requests and monitor ajax calls in Google Chrome.

By: CodexWorld Jan 18, 2017

Most of the business puts their contact number on their website. The clickable phone number is very useful when the user browsing the website from a mobile device. Click To Call link helps to dial the phone number directly from the website by one click.

By: CodexWorld Nov 5, 2016

Perhaps you were faced with a common problem when you’re using jQuery Ajax to submit a form, the form data is submitted multiple times if the submit button is clicked multiple times. To solve this issue you only need to write one line code in jQuery.

By: CodexWorld Oct 19, 2016
PHP

PHP array_filter() function filters elements of an array using a callback function and returns the filtered array. Here we’ll provide a short PHP code snippets to filter elements of an array that contain a specific value. It will help you to filter an array based on particular condition.

By: CodexWorld Jan 4, 2023
PHP

Some web applications are needed to show the age of the user. In that case, you need to calculate the user age from date of birth. Use date(), date_create(), and date_diff() functions to calculate age from date of birth in PHP.

By: CodexWorld Sep 5, 2016
keyboard_double_arrow_up