hello, i am trying to modify random question viewer plugin. But in that plug shows all question. i want to show unanswered random question. there is a query.
function output_widget() {
$random_question = qa_db_read_one_assoc(
qa_db_query_sub('SELECT * FROM ^posts WHERE type=$
ORDER BY rand()
LIMIT 1',
'Q'),
true );
how i can find unanswered question from mysql?
thank you.