Categories > TinyButStrong general >

converting all Vars to lowercase

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: PsiTrax
Date: 2004-02-13
Time: 00:39

converting all Vars to lowercase

Hi,
if i would use a Variable like [var.MyArray.Name] the PHP-Side Var have to called $myarray['name']
everything in lowercase!

why does TBS convert it to lowercase?
it costs me a lot of time to find my problem...

pls remove this in the next version!
thx a lot

btw, a really really nice TemplateSystem - best ever seen! grats

wkr
PsiTrax
By: Skrol29
Date: 2004-02-13
Time: 01:47

Re: converting all Vars to lowercase

Hi PsiTrax,

Hey you're right, this is a bug.
What I have is : no matter if MyArray is lowercase or upper case, the TBS tag works, but 'name' must be lower case in the TBS tag or it fails.

This is not normal, I'm going to fix that.
The normal behaviour is MyArray can be any char-case, but 'name' should be the same char-case as the array item.

The fix will be annouced by the TinyLetter (see support page).
By: PsiTrax
Date: 2004-02-13
Time: 21:09

Re: converting all Vars to lowercase

thx a lot,
bzw with "ID" its the same problem

its very nerved but all my PrimaryKey rows on my MySQL-DB are called "ID" and not "id" :(

pls fix this problem as fast as you can!
By: Skrol29
Date: 2004-02-15
Time: 14:06

Re: converting all Vars to lowercase

It work fine for me with MergeBlock().
I have no problem with columne name casesensitivity.