line no. 46 if ($returnid = insert_record('fm', $fm))
i guess u didn't use $DB->insert_record(.....
i guess thats the reason insert_record() function not found u can try with that hope that helps...
line no. 46 if ($returnid = insert_record('fm', $fm))
i guess u didn't use $DB->insert_record(.....
i guess thats the reason insert_record() function not found u can try with that hope that helps...