Variable assignment in loop

Supposed you have this query below:

	<!--- this is matching the query scope qAllActiveFields.fieldLabel  -->
		<!--- BUT this is changing the variable.fieldLabel -->
	
	<tr>
		<td>#FieldID#</td>
		<td>#FieldLabel#</td>
		<td>#variables.FieldLabel#</td>
	</tr>

</table>

		<td>this is overwritten</td>
	</tr>

	<tr>
		<td>170</td>
		<td>Location</td>
		<td>this is overwritten</td>
	</tr>


	<tr>
		<td>171</td>
		<td>Industry Sector</td>
		<td>this is overwritten</td>
	</tr>

	<tr>
		<td>172</td>

		<td>Job Duration</td>
		<td>this is overwritten</td>
	</tr>

	<tr>
		<td>173</td>
		<td>Job Start Date</td>
		<td>this is overwritten</td>

	</tr>

	<tr>
		<td>174</td>
		<td>Salary</td>
		<td>this is overwritten</td>
	</tr>

	<tr>

		<td>896</td>
		<td>Account to use</td>
		<td>this is overwritten</td>
	</tr>
</table>