Re: [PHPTAL] PHPTAL 1.2.0 alpha

2009-04-29 Thread Kornel Lesiński
On 29-04-2009 at 00:53:41 romtek rom...@gmail.com wrote: OK, I've given up on require() and changed it all to require_once(). Is there ever a reason to use require() to include code (not text)? I hoped it would be faster than require_once, but it turned out that with relative paths the

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] PHPTAL 1.2.0 alpha

2009-04-29 Thread Tjerk Meesters
Guess the __DIR__ constant came a bit too late then ;-) On 4/29/09, Kornel Lesiński kor...@aardvarkmedia.co.uk wrote: On 29-04-2009 at 00:53:41 romtek rom...@gmail.com wrote: OK, I've given up on require() and changed it all to require_once(). Is there ever a reason to use require() to