Welcome Guest, Not a member yet? Register   Sign In
Nested Loop with parser template
#1

[eluser]giovannidc[/eluser]
Hey,

Was wondering if anyone had a solution to creating a nested loop with the template parser:

Code:
{users_details}
<input type="text" name="displayname" value="{user_displayname}"/>
<input type="text" name="email" value="{user_email}"/>

<select name="company">             {companies}
<option value="{company_id}">{company_name}</option>
{/companies}        
</select>

{/users_details}

The above code does not display the way I want it. Instead of getting:
Code:
<option value="1">Microsoft</option>
I'm getting
Code:
{companies}
<option value="{company_id}">{company_name}</option>
{/companies}

So my assumption is that nested parsing is not allowed?


Messages In This Thread
Nested Loop with parser template - by El Forum - 05-14-2012, 01:11 AM
Nested Loop with parser template - by El Forum - 05-15-2012, 05:35 AM
Nested Loop with parser template - by El Forum - 05-15-2012, 06:48 AM
Nested Loop with parser template - by El Forum - 05-15-2012, 06:51 AM
Nested Loop with parser template - by El Forum - 05-15-2012, 12:05 PM
Nested Loop with parser template - by El Forum - 05-23-2012, 03:05 AM
Nested Loop with parser template - by El Forum - 05-23-2012, 04:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB