• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing multiple uri / url parameters with CI

#1
[eluser]Wittner[/eluser]
Hi,

I'm building as part of an application, a booking engine. A diary view is presented to the user with hyperlinks on each date. If they wish to make a booking they click on the date's link and a dhtml pop-up window appears with some of the data pre-loaded (that's the theory anyhow!). I'm a newbie to mvc, OOP and CodeIgniter. In my old procedural days (last month!) I would have passed an id code and date for instance to the new window using this kind of structure in the link:

Code:
<a >4/08/2008</a>

Codeigniter handles things differently, using segments. My question is, how do I pass these two (or more) variables to a new window using CodeIgniter best practice? Do I need to use a form instead of a link? Can CI handle multiple segments such as:
Code:
<a >4/08/2008</a>

I'm just looking for guidance for 'best practice' not necessarily code. A pointer in the right direction would be great!

(code samples above simplified for clarity)

cheers,

Wittner

p.s. I should mention that I'm in love with CodeIgniter. Don't know what I did without it before ;-)


Messages In This Thread
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 05:48 AM
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 06:33 AM
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 06:37 AM
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 08:05 AM
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 08:05 AM
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 10:51 AM
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 11:13 AM
Passing multiple uri / url parameters with CI - by El Forum - 06-30-2008, 11:27 AM
Passing multiple uri / url parameters with CI - by El Forum - 07-01-2008, 03:26 AM
Passing multiple uri / url parameters with CI - by El Forum - 07-01-2008, 04:18 AM
Passing multiple uri / url parameters with CI - by El Forum - 07-02-2008, 12:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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