Here is a post which will show you how to pass two arrays into a view in codeigniter: Controller: function dashboard(){ $this->load->model(‘golf_db’); $user_id = $this->session->userdata(‘user_id’); $data['last_round'] = $this->golf_db->get_last_round($user_id); $data['leaderboard'] = $this->golf_db->get_leaderboard(); $this->load->view(‘dashboard’,$data); } View: < ?php echo $last_round[0]->round_week; //echo $round_week; ?> < ?php echo $last_round[0]->round_course; ?> < ?php echo $last_round[0]->round_score; ?> The Fix Instead of [...]
I was recently messing around with gravity forms for a form in my footer. I was bugged by the annoying function do_shortcode. For the life of me I could not figure out why the form would not show up. Finally I figured out that in order to use the do_shortcode function you have to echo the [...]
Recently Google added a new way of navigating the different modules of the Goog network. Previously Google had it’s site navigation at the top of all the pages with a nicely designed bar. Like so: This navigation was perfect, no matter where you are on the Google network you can easily go to the navigation [...]
When your links are extending outside the width of your block level element’s even with an overflow property just apply these rules: Source: http://perishablepress.com/press/2010/06/01/wrapping-content/
My name is Rob Guilfoyle and I am a recent graduate from Indiana University. My major focus was in Informatics with a cognate in Cyber Security. As a new graduate I have been exposed to multiple different job atmosphere’s including small business, working for myself, and at a large corporate business. I always felt I [...]
This is a photo of the Jewel Pinnacle crag from the top of Diamond in the Crack. It was taken with my Canon T2i rebel, and was edited in photoshop. Hope you enjoy!