I have two decimal columns in a query and I'm formatting them with the 2 colstyle commands shown below. The first column displays correctly, but the second column is blank and a series of error messages appear (one for each row returned) as follows:
Warning: sprintf(): Too few arguments in /var/www/mydbr/lib/utils.php on line 2139
Can you tell me why this seemingly identical syntax is causing this error? If I remove the second colstyle command the warnings do not appear, but the second column is not formatted as percent.
SELECT 'dbr.colstyle', 'FF%', '%.2f %';
SELECT 'dbr.colstyle', 'R%', '%.2f %';