in reply to How to use TR to generate a table row

Your earlier threads that might help:

The problem you're having is probably that the CGI Tr method is capitalized to avoid conflict with the tr operator.