05-16-2008, 11:54 AM
[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:
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:
in the controller to get the id for use in querying the database.
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']) .'">'
Code:
$race_event_id = $this->uri->segment(3, 0);