I should have added that everything is on the same line with no breaks as follows (and as suggested by AF):
<%get global array("kNAStates";$States)%><SELECT NAME="State">........<%end for%></SELECT>
...the returns and tabs just seems to get inserted.
The tabs are the indentation of the line on which the loop executes. You shouldn't be getting extra returns, though. When I execute this code:
<html>
<select name="test">
<% for($i;1;10) %><option><%=$i%></option>
<% end for %>
</select>
</html>I get this output:
<html>
<select name="test">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option> <option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select></html>
BTW, instead of using "get global array", you can just index the array directly in the loop by using 'get global("kNAStates"; $i)'.
Regards,
Aparajita Victory-Heart Productions [EMAIL PROTECTED] www.aparajitaworld.com
"If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com
