General developer forum


This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Hubert Chathi
Re: get_records_sql
Group Plugin developers

Aside from the semicolon that made your query fail, you also should not be hard-coding the "mdl_" table prefix; you should wrap your table names in braces.  So, instead of, for example, "mdl_role_assignments", write "{role_assignments}".

Average of ratings: Useful (2)