How to Export Data to CSV File using PHP and MySQL


export-table-data-to-csv-file-php-mysql-codexworld

CSV (comma-separated values) is the most popular file format to store tabular data in plain text. Generally, CSV file is used to import and export data for moving tabular data between programs. Import and export data is the most used feature in the web application, and CSV file format is a best chose for that. Here you will learn to create CSV file in PHP and download and save MySQL data in CSV file using PHP.


How to POST and Receive JSON Data using PHP cURL


post-get-receive-json-data-php-curl-codexworld

When you working with web services and APIs, sending JSON data via POST request is the most required functionality. PHP cURL makes it easy to POST JSON data to URL. This tutorial shows you how to POST JSON data using PHP cURL and get JSON data in PHP. Our example code makes an HTTP POST request and send the JSON data to URL with cURL in PHP. Also, you can get or fetch the JSON POST data using PHP.


How to Capture Screenshot of Website from URL using PHP


capture-screenshot-website-url-using-google-page-speed-insights-api-php-codexworld

Web page screenshot capture functionality is used for various purposes in the web application. There are many third party APIs are available to take a screenshot of the website. But if you wish to build your own script to get a screenshot from URL, you can do it easily using PHP and Google PageSpeed Insights API. Google PageSpeed Insights API can be used to get a screenshot of the website from URL.


Add Remove Group of Input Fields Dynamically using jQuery


add-remove-input-fields-group-dynamically-jquery-codexworld

The Input fields group is very useful when the bulk data needs to be submitted at once. If you have a requirement to submit the group of bulk data with multiple input fields, input group makes it easy for you. Instead of shown some specific number of input group at once, you can add the input groups dynamically to make the web application more user-friendly.


How to Export TinyMCE Content to MS Word Document


export-tinymce-content-to-ms-word-document-doc-plugin-codexworld

TinyMCE is the most advanced WYSIWYG HTML editor used in the web application for adding HTML editor to textarea. TinyMCE provides a simple way to convert Textarea to HTML editor in the web page. But sometimes TinyMCE functionality needs to be extended with some advanced feature. Export editor content to Word document is one of the most desired functionality for TinyMCE editor.


How to Restrict WordPress Admin Access by IP


wordpress-restrict-admin-wp-login-access-by-ip-codexworld

Are you concerned about the security of your WordPress site? and want to secure the WP Administrative panel? Restrict admin access by IP Address is an effective way to secure your WordPress admin panel. Using HTACCESS you can allow or block IP to access WP admin. This tutorial shows how to restrict wp-admin and wp-login.php access by IP address.


How to Load Dynamic Content in Bootstrap Modal


load-dynamic-content-bootstrap-modal-ajax-php-mysql-codexworld

Creating a modal popup is very easy with Bootstrap. So, if your web application uses Bootstrap, it's always a good idea to use Bootstrap for populating modal dialog. Because it does not require any third party jQuery plugin. Not only the static content but also you can pass parameters to URL and load dynamic content via jQuery Ajax in a modal popup with Bootstrap.


How to Change WordPress Admin Username


change-wordpress-admin-username-cpanel-database-codexworld

If you try to change your WordPress username, you will see the notification like this - Usernames cannot be changed. But many times we need to change the WordPress admin username for security purposes. You will find many plugins to change the username in WordPress, but we prefer to change WordPress username manually. You can easily change the WordPress username through cPanel or WP admin panel.


Creating 3D Rotating Image Gallery with CSS


create-3d-rotating-carousel-image-gallery-css-codexworld

The 3D effect makes image gallery more attractive and provides a better user interface. There are many jQuery plugins are available for creating a 3D image gallery. But the 3rd party plugin increases the web page size which affects your website load time. So, if you want to make 3D image gallery with CSS without using a plugin, our CSS 3D concepts helps to create a 3D image gallery using pure CSS on the website.