CodeIgniter helper file is a collection of functions, it help you to do task. CodeIgniter has more than 20 system helpers. All system helpers are stored in system/helpers directory. In this tutorial we will discuss about CodeIgniter custom helper. You will learn to create your own helper file and use helper function as per your needs. Now we will create a custom helper file and a function in this helper file. Also we will use this function in controller and views. We have already the users table into database, where all the user data have stored. We will create a

By: CodexWorld Aug 21, 2015
PHP

Many times we need store the data as a XML into the database or into the file for later use. For fulfil this need, we will need to convert the data to XML and save the XML file. In this tutorial we will discuss, how to create XML from array in PHP. We have created a simple script for convert PHP array to XML. You can easily generate XML file from PHP array and save the XML file. You can convert all types of array like Associative array or Multidimensional arrays. PHP Array: At first we will store the users

By: CodexWorld Jun 2, 2017
PHP

Dynamic input field allows providing multiple values in a form. It is very useful when you want to receive multiple inputs for the same field in an HTML form. The dynamic input fields feature can be easily integrated using jQuery. You can add multiple fiel...

By: CodexWorld Sep 1, 2023

At our previous tutorial we have described about Drupal 7 installation, configuration, and basic setup. In this tutorial we will discuss about creation of page, content and menu in Drupal 7. You will learn how to add content to a Drupal site. Now let's sta...

By: CodexWorld May 31, 2015
PHP

Rating helps the user to give their thought and differentiate how good or bad a products or service is. Also, it helps the owner to understand the drawbacks of products and know whether the product meets customer expectations or not. The rating system func...

By: CodexWorld Jun 14, 2018
PHP

This short tutorial will explain how you upload images and create thumbnail of the images using PHP. You can learn dynamic thumbnail creation with our tutorial and easily integrate this script at your project. Also you would be able to view the working liv...

By: CodexWorld Apr 27, 2016

WordPress introduced Shortcode API in version 2.5. Shortcode is a set of functions for creating macro codes. In our previous WordPress tutorial we have discussed about custom WordPress plugin creation. Now we will discuss how can you add extra functionality to your custom plugin. When a shortcode inserted into page or post, it is replaced with the other content. Means, we instruct WordPress to find the macro code under square brackets ([]) and replace it with the dynamic content. Shortcode is one of the most useful features in WordPress and you can use shortcode into post, page and plugin. The

By: CodexWorld Apr 20, 2015

The alert window is very common and useful things for every web projects. We use alert dialog box for display messages in the browser. All browsers have their default alert window style. Many times we need a custom alert dialog box for matching with our pr...

By: CodexWorld Apr 27, 2016
PHP

File upload is the most used feature in web applications. PHP provides an easy way to upload file to the server. With PHP, you can upload files or images to the server by writing minimal code. In this tutorial, we'll show you how to upload files in PHP and...

By: CodexWorld Jul 18, 2022
keyboard_double_arrow_up