Check out the LimeSurvey source code on GitHub!

MySQL query in "action=browse&sid=43544&subaction=all"

4 years 10 months ago #78090 by yyassaman

I have entegrated limesurvey with my python powered system.
I want to show "action=browse&sid=43544&subaction=all" page to my report page.
In limesurvey's browse.php there are these lines:
    $idquery = "SELECT * FROM $surveytable ";
    if ($surveyinfo['anonymized'] == "N" && db_tables_exist($tokentable))
        $idquery .= "LEFT JOIN $tokentable ON $surveytable.token = $tokentable.token ";
    if (incompleteAnsFilterstate() == "inc")
        $idquery .= " WHERE (submitdate = ".$connect->DBDate('1980-01-01'). " OR submitdate IS NULL) AND ";

This query gives '43544X5X34', ... fields.How can I access question with '43544X5X34'?

Thanks in advance

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form