Hi Team ,
We have developed a new custom activity for the course. Our activity name is "blogactivity".
Its created successfully.
While creating ( after fill the form ) the datas are not entred into database table.
function blogactivity_add_instance($blogactivity)
{
$blogactivity1 = new stdClass();
$blogactivity1->name= 'test';
echo $id = $DB->insert_record('test',$blogactivity1);
exit;
}
each time the 'id' is increased while testing but no data didn’t entered into table .
Please help us to go forward.
We have done purge caches many time but no result.
Thanks in advance.
Regards,
Jerin