The usual method in Moodle is to use forms that submit to a script that turns the data into an object and you use insert_record() to store it in the database as a record. Later, you get_record() from the database and it's given to you as an object.
... and of course using the database. 
The usual method in Moodle is to use forms that submit to a script that turns the data into an object and you use insert_record() to store it in the database as a record. Later, you get_record() from the database and it's given to you as an object.
The usual method in Moodle is to use forms that submit to a script that turns the data into an object and you use insert_record() to store it in the database as a record. Later, you get_record() from the database and it's given to you as an object.