• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(RESOLVED)Get Data From View to Another View?

#7
[eluser]zimco[/eluser]
Gtech, thanks for your help. I opted to use your suggestion of passing the event_id in a url segment to a new controller and querying the database again using the id.

For anybody stumbling across this thread i used:
Code:
<a href="'. site_url('scoring/single_raceresults/'.$results[$i]['event_id']) .'">'
to create the date link on the html page to call the new controller, single_raceresults, and put the event_id in the url, then used:
Code:
$race_event_id = $this->uri->segment(3, 0);
in the controller to get the id for use in querying the database.


Messages In This Thread
(RESOLVED)Get Data From View to Another View? - by El Forum - 05-15-2008, 11:09 AM
(RESOLVED)Get Data From View to Another View? - by El Forum - 05-15-2008, 11:25 AM
(RESOLVED)Get Data From View to Another View? - by El Forum - 05-15-2008, 04:50 PM
(RESOLVED)Get Data From View to Another View? - by El Forum - 05-15-2008, 05:01 PM
(RESOLVED)Get Data From View to Another View? - by El Forum - 05-16-2008, 07:46 AM
(RESOLVED)Get Data From View to Another View? - by El Forum - 05-16-2008, 09:17 AM
(RESOLVED)Get Data From View to Another View? - by El Forum - 05-16-2008, 11:54 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.