Setup Maintenance Mode in CodeIgniter


codeigniter-maintenance-mode-page-setup-codexworld

Maintenance mode helps to improve user experience by showing a notification when the site is going through maintenance. When the web application needs an update, it's always a good idea to display a well-designed maintenance page instead of showing error on the website. CodeIgniter's Hooks feature provides an ability to implement maintenance mode functionality in CodeIgniter.


Add a Local File Picker to Image Dialog in TinyMCE


add-local-file-picker-to-image-dialog-tinymce-codexworld

TinyMCE is web-based WYSIWYG editor that converts HTML elements to an editor and instant ability to add HTML editor to textarea. You can easily add TinyMCE editor to HTML element by writing minimal JavaScript Code. TinyMCE has many advanced features which make your WYSIWYG editor more powerful and user-friendly. This tutorial will show you how to add a local file picker to image dialog in TinyMCE editor.


Inline Table Editing using jQuery Ajax PHP and MySQL


inline-table-edit-delete-jquery-ajax-php-mysql-codexworld

Inline editing provides an easy way to edit data in table cells. If your web application has data grid functionality, inline edit & delete is the must-have feature. The user can edit and delete content on the same page by clicking the row in the table. Inline table editing provides better user experience and makes the web application user-friendly. Live table editing functionality can be easily integrated with jQuery and Ajax.


Ajax File Upload with Form Data using PHP


ajax-file-upload-submit-form-data-jquery-php-mysql-codexworld

File upload functionality is the most used feature for the web application. Generally, a form is submitted to upload file in PHP. IF you want to provide a better user interface, jQuery and Ajax can be used to upload file without page refresh. The FormData object compiles a set of key/value pairs to send using XMLHttpRequest. The files can also be sent using FormData by including a file input element in your the form.


Credit Card Validation using jQuery


credit-card-number-validation-jquery-codexworld

Credit card validation is the must-have functionality on the payment form. It helps to validate credit card number and other details before submitting the payment. You can easily implement the credit card validation on the payment form using jQuery. We will create a simple jQuery plugin for credit card number validation. This jQuery plugin detects and validate credit card numbers, and instantly check whether the card is valid.


Convert Array to XML and XML to Array in PHP


convert-array-to-xml-parse-read-file-php-codexworld

XML is used in many ways in the web application. If you're concerned about database size and want to reduce database uses, XML can help you to free the space from the database. Instead of the database you can store the data in the XML file and retrieve data from XML file without connecting to the database. This tutorial shows how to convert PHP associative or multidimensional array to XML and stored in the XML file.


Stripe Payment Gateway Integration in PHP


stripe-payment-gateway-integration-php-api-codexworld

Stripe payment gateway makes it easy to integrate checkout system and collect payment on the website. The Stripe API is a powerful solution to integrate checkout system in the web application to provide a smooth payment experience. If you want to accept credit card payment on your website, Stripe will the best option for that. You can easily integrate checkout system in your PHP-based website.


Pagination in CodeIgniter


codeigniter-create-pagination-links-library-codexworld

Pagination is the most required feature in the web application. Generally, pagination is useful when data is retrieved from the database and listed in the web page. Pagination in data list is mandatory when you need to list the huge data. If your web application built with CodeIgniter framework, it's very easy to implement pagination in the data list. CodeIgniter provides Pagination class to create pagination links for the results set.


How to Embed PDF Document in HTML Web Page


embed-pdf-document-file-in-html-web-page-codexworld

Generally, a hyperlink is used to link a PDF document to display in the browser. HTML anchor link is the easiest way to display a PDF file. But if you want to display PDF document on the web page, PDF file need to be embedded in HTML. The HTML embed tag is the best option to embed PDF document on the web page. Using parameters in URL, you can specify exactly what to display and how to display PDF document.