[eluser]wilfred[/eluser]
I have a simple application up and running. But I cant connect to the database using the following code where my table name is called hippo.
<?php
class Blog extends Controller{
function Index()
{
$data['title'] = "party zone";
$data[heading] = "lets rock and keep it rocking";
$this->load->view('blogview',$data);
$this->load->database();
$sql = "SELECT * FROM hippo WHERE manufacturer = ?";
$this->db->query($sql, array('EABL'));
}
}