To fix your 'answer' problem,
Replace
query_sql "INSERT INTO `request` (`account_id`, `char_name`, `time`, `type`, `message`) " +
"VALUES ("+getcharid(3)+", '"+strcharinfo(0)+"', '"+gettimestr("%Y-%m-%d %H:%M:%S",21)+"', 'Ingame Question', '"+.@requestinput$+"')";
With
query_sql "INSERT INTO `request` (`account_id`, `char_name`, `time`, `type`, `message`,`answer`) " +
"VALUES ("+getcharid(3)+", '"+strcharinfo(0)+"', '"+gettimestr("%Y-%m-%d %H:%M:%S",21)+"', 'Ingame Question', '"+.@requestinput$+"', 'Not Yet Answered')";
The problem is when the INSERT query is called, the `answer` field is not being filled in. (It is Null)
I suggest in the future revisions, `answer` should be able to be left null.