Welcome Guest, Not a member yet? Register   Sign In
passing url variable
#3

[eluser]jmcc1982[/eluser]
This is how I reference the link:

<a href="&lt;?php site_url('special_deals/form');?&gt;?d=1" class="roll">

This is my Controller:

&lt;?php

class Special_deals extends Controller
{

var $data = array();

function Special_deals()
{
parent::Controller();
$this->data['current_menu_tab'] = "special_deals";
$this->data['message'] = '';
}

function index()
{

}

function page($page)
{
$this->load->view('special_deals/'.$page);
}

function form()
{
$this->load->view('special_deals/form');
}

}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */


Messages In This Thread
passing url variable - by El Forum - 05-01-2010, 09:07 AM
passing url variable - by El Forum - 05-01-2010, 09:16 AM
passing url variable - by El Forum - 05-01-2010, 09:19 AM
passing url variable - by El Forum - 05-01-2010, 09:29 AM
passing url variable - by El Forum - 05-01-2010, 09:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB