Can anbody help me please, I am having problems creating a form.
I am using moodle 2.2 and quick forms, it saves to the database on submit but then returns to the form with error.
mysqli::real_escape_string() expects parameter 1 to be string, array given in /$root/lib/dml/mysqli_native_moodle_database.php
I am also trying to upload a doc in the form to the course context to massively struggling.
Code is below: http://stackoverflow.com/questions/11761583/quickforms-and-moodle