View Single Post
  #1  
Old 04-14-2003, 07:01 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Call me stoopid - but what have I done here????

Hi

I was editing the register.tpl (and I reckon I've done a good job) - BUT now when I view it, its displaying the countries in reverse order (Z-A). This is the code I have:

Code:
<select name=s_country size=1> {section name=country_idx loop=$countries} <option value={$countries[country_idx].country_code} {if $userinfo.s_country eq $countries[country_idx].country_code}selected{elseif $countries[country_idx].country_code eq $config.General.default_country and $userinfo.b_country eq ""}selected{/if}> {$countries[country_idx].country} </option> {/section} </select>

What have I done???

I was also playing with phpMyAdmin around the same time - is it something I have changed in here??

Whilst I'm on subject, is it possible to specify a country to display to start with, e.g. USA -
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote