How to redirect using $this-session-userdata(country_territory) |
(09-24-2019, 08:17 AM)Wouter60 Wrote: Why not simply one controller that takes the country as a parameter? If you have a controller for each country, you'll probably have to write a lot of code over and over again. That's bad practice. Once I get Afghanistan working good I'll simply copy & paste that controller into the other countries controllers and use a text editor to change the name from Afghanistan to the name of the each country. I can't see my system working otherwise. Thanks for the additional advice, I'll work on that in the next few days. I intend to download some program scripts from Hotscripts to see if I can get some other ideas. |
Welcome Guest, Not a member yet? Register Sign In |