Okay, so I'm grabbing the data I need properly from the database. However, how do I take the "echo data" and echo it as a variable in my view?
For example,
<? echo $row1->title; ?>
is not working when placed in the view.
Here's a portion of my controller:
// Pricing and package details insert from db
$query = $this -> db -> query('SELECT title, price, number_sites, number_entries, white_label FROM pricing');
$row1 = $query->row(0); // 0 grabs first row in table: Package 1
echo $row1->title;
echo $row1->price;
echo $row1->number_sites;
If you want to view the entire controller, check it here: http://codepad.org/4nRrywzl