• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to access value from controller to view..

#1
Hi,
I am getting an error while accessing data from controller to view.
The $data variable 'ddlcountry' is inaccessible in my view.

following is the error code iam getting.

I am new to codeigniter. please suggest the possible error cause.


Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: ddlcountry

Filename: views/register.php

Line Number: 59

Backtrace:

File: C:\xampp\htdocs\JobPortal\application\views\register.php
Line: 59
Function: _error_handler

File: C:\xampp\htdocs\JobPortal\application\controllers\JS_Register.php
Line: 18
Function: view

File: C:\xampp\htdocs\JobPortal\index.php
Line: 292
Function: require_once
Reply


Messages In This Thread
Unable to access value from controller to view.. - by vijjucse - 08-13-2015, 06:25 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.