Welcome Guest, Not a member yet? Register   Sign In
controller codeigniter in ubuntu linux not run
#6

[eluser]Basketcasesoftware[/eluser]
[quote author="mi6crazyheart" date="1298237197"]@tusukgigi Dude, CONTROLLER is not the right place for echoing any thing. That's why u can't able to see u'r echo statement. BDW, try this... i hope u can now see the VIEW page.. ;-P

Code:
function index()
{
echo "Hello home, I was here:D ";
$this->load->view('welcome_message');
}
[/quote]

Ummm. I use echo in my controllers all the time. If the code is working they show up. That isn't the reason. It's not recommended because it violates MVC patterning. But CodeIgniter isn't strict MVC anyways.


Messages In This Thread
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 01:52 AM
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 02:07 AM
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 02:54 AM
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 09:26 AM
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 09:30 AM
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 12:37 PM
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 12:39 PM
controller codeigniter in ubuntu linux not run - by El Forum - 02-20-2011, 04:08 PM
controller codeigniter in ubuntu linux not run - by El Forum - 02-21-2011, 10:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB