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

#10
[eluser]Wittner[/eluser]
That worked a treat:

I set a variable in the model equal to the controller function that shows the pop-up window, like this:

Code:
$bookingWindow/$propertyId
(this appears in the JS script for the pop up link as my target page)

Then used:

Code:
$data['propertyId'] = $this->uri->segment(3, 0);
in the controller, and passed the array off to the resulting page load function. This worked a treat and the Id was echoed properly on the final page. Time for a celebratory coffee! Once again, many thanks for the help.

cheers,

Wittner


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-2021 MyBB Group.