Welcome Guest, Not a member yet? Register   Sign In
Pass parameter with Url
#1

[eluser]Antoniofu[/eluser]
Hi to all!

I'm new to codeigniter and programming OOP in general.

So I have a problem with a web site that I'm building, I have an image, gif, of a country(Italy) and this image is mapped for every region is clickable.

Actually each link is something like : www.site.com/name_region.html due to the old version without CI.

In the old site I have a URL like : www.site.com/region.php?name=region_name and with htaccess I created the redirect at www.site.com/name_region.html

and use the _GET variables of the url for the query too for the region.php

Now with CI I created a controller called Region and the page in views ...
Quote:but how can I pass the variable to the page Region from the link?


I hope I explained well the problem, and sorry if my english is not perfect.

Thanks in advantage to all Smile
#2

[eluser]rogierb[/eluser]
Just read the user guide regarding controllers and you will find the answer.
#3

[eluser]Antoniofu[/eluser]
Thanks, I'm reading now.




Theme © iAndrew 2016 - Forum software by © MyBB