I use procmail to filter email which involves retrieve result from mysql, but Procmail recipe returned column name which I don't want and result. variable result is not declared or used before the line: Here is the line in my procmail:
{
result=`mysql -uuser -ppasscode dbname -e "select raw_data from tablex where id='"$msgID"'`
result=`echo "$result"
}
How to trick it/rewrite it not to return raw_data
in the result?