[Deprecated] DMZ 1.6.2 (DataMapper OverZealous Edition) |
[eluser]Conerck[/eluser]
[quote author="BaRzO" date="1266677821"]@Conerck When I use with $c->region_name or $c->name it does not work. I have changed it like $city->region_name It's works but get only one region. Is it possible I don't know, the problem is the sql query maybe there is a LIMIT 1 for region [/quote] It should be $r->name The $r variable holds the Region data. The $c variable holds the City data. The LIMIT 1 queries are not the problem. They are made by DMZ to find out what fields are in your tables. EDIT: You should also take a look at the Model-View-Controller-Pattern |
Welcome Guest, Not a member yet? Register Sign In |