I want to have link for the feedback in my feedback report.
but I could not figure it.
the following sql is not working
concat('<a target="_new" href="%%WWWROOT%%/mod/feedback/view.php?id=',fb.id,'">',fb.id,'</a>') Link
FROM prefix_feedback fb
the link gives the following error
Invalid course module ID
I can see that the id of the feedback and the correct id when I click the feedback don't match
but I can't know where is the correct id in the tables