aid

Tuesday, 21 June 2016

Earn upto Rs. 9,000 pm online

Hi, I have something interesting for you - you can easily earn regular income online via PaisaLive.com! It's really amazing! You get paid to open & read the contents of PaisaLive mails. You also receive special discount coupons, promotions and free passes to various events in your city. Join now and get Rs. 99 instantly, just for joining. What more, as a special bonus you get paid for inviting your friends also! Create your PaisaLive Account & refer your friends to earn launch referral bonus on every new registration. Earn upto Rs. 9,000 pm checking Emails. Join now! PaisaLive - Get Paid to read emails

Wednesday, 22 April 2015

create common and dynamic helpers in MVC

There is way to create common and dynamic helpers in MVC
nnow you create a funcvtion in your helper like this :-

function notification()
{

Wednesday, 15 April 2015

make your own website free

make your own website free
now day's every body want to global the solution in only create a website and promote it on internet. from a website you can also earn money from internet
as a publisher of ads. Here is the process to make your website free without any charge

HTML Helper in codeigniter

HTML Helper in codeigniter
CodeIgniter provides HTML Helper file contains functions that nhelp to working with HTML.
Loading this Helper

Libraries in CodeIgniter

Libraries in CodeIgniter
All of the available libraries in CodeIgniter are located in your system/libraries folder. In most cases, to use one of these classes involves initializing it within a controller using the following initialization function from a controller in mvc :

Auto-loading Models in mvc

Auto-loading Models in mvc
If you want to perform particular model globally in your application, you can tell CodeIgniter in mvc pattern  to auto-load model during system execution. This is done by file the application/config/autoload.php file and adding the model to the autoload array.

Loading a Model in MVC

Loading a Model in MVC
Your models will naturally to be loaded by controller functions. For load model you can use below sysntex:
$this->load->model('your Model_name');

Creating Models in MVC

Creating Models in MVC
Models are available for those who want to use a MVC approach.
Models are classes and functions that designed to toil with in sequence within your database. For example, let's say you use CodeIgniter that is follow MVC approach to manage a web application. You capacity have a model class and model function and function contains  insert, update, and retrieve your data from database. Belo example show how to look model classes:

Loading multiple views in CodeIgniter

Loading multiple views in CodeIgniter
CodeIgniter will astutely handle multiple calls of view, model in a controller  $this->load->view(‘viewname’) within a controller. If many call happen from a controller, view will be appended jointly. For example, If you have view and you want to load some header footer content section a view so you can do by the follow example:-

Loading a View in MVC

Loading a View in MVC
To load a exacting view from your controller file you can use the following: