Using mysql_get in reports
Glad to hear you've got it working!
>The idea is interesting, but won't that multiply the queries unnecessarily sometimes? I think of the server resources...
It should be almost no resources since the database connection is already opened by CMSB, just sending the text across, and no databases are being queried. So if you need to do that on a wider scale in future that's a possibility.
Or alternatively you might be able to put it in a mysql config file if you have access to them: http://dev.mysql.com/doc/refman/5.5/en/option-files.html