[eluser]Praveen A P[/eluser]
I am following the
Quote:CREATE BLOG IN 20 Mins video
and trying to create a simple link to register.
The link never showed. Please help.
THE CONTROLLER CODE
Code:
<?php
class Ts_start extends Controller {
function Ts_start(){
parent::Controller();
$this->load->helper('url');
}
function index(){
$this->load->view('ts_start_view');
}
function register(){
echo 'halwa...';
}
}
THE VIEW CODE
Code:
<html>
<head>
<title>Stories</title>
</head>
<body>
<p>THIS IS THE SITE</p>
<p><?php anchor('ts_start/register', 'Register');?></p>
</body>
</html>
The text shows however the link does not.
Please help