Re: variables in views

2008-01-23 Thread WebSpin.Biz
Have you tried: foreach ($user['Place'] as $place); what are your model associations like? On Jan 23, 2:43 am, mcphisto <[EMAIL PROTECTED]> wrote: > maybe this is a stupid question, but I don't understand a thing. > I've a table of users (columns: id, name), one of places (columns: id, > name)

Re: variables in views

2008-01-23 Thread RichardAtHome
Quick tip: Use plenty of pr($variable) while you are getting your head around this ;-) In this case try: Post the output of the pr() here if you are still having problems. On Jan 23, 7:43 am, mcphisto <[EMAIL PROTECTED]> wrote: > maybe this is a stupid question, but I don't understand a thin

variables in views

2008-01-22 Thread mcphisto
maybe this is a stupid question, but I don't understand a thing. I've a table of users (columns: id, name), one of places (columns: id, name) and these two tables are linked by a table called relations. In table relation I've three columns: id, user_id and place_id. Well, when I'm in the view of o