Re: [PHPTAL] Selected attribute in select list

2009-04-29 Thread Matt Marron
That's how I got it to work, but without the Tales-Keyword. I just added a IF statement to my SQL statement that retrieved the categories. Kind of hackish, if you ask me, but it works! Thanks for all your replies! - Original Message - Date: Tue, 28 Apr 2009 12:45:43 +0200 From:

Re: [PHPTAL] Selected attribute in select list

2009-04-28 Thread Matt Marron
Tried that, it doesn't work (sets every option as selected). - Original Message - From: Daniel Lima To: Matt Marron ; Template Attribute Language for PHP Sent: Monday, April 27, 2009 5:29 PM Subject: Re: [PHPTAL] Selected attribute in select list The way you USA should

[PHPTAL] Selected attribute in select list

2009-04-27 Thread Matt Marron
I have been trying to figure out how to get the selected option to properly show up in a select list all day with no success. It either shows up on none of the option tags or on all of them. I've posted the relevant code below. What am I doing wrong? Let me know if you need more information.