Home › Forums › Front End PM PRO › Help with Version 10.1.1 Database Changes › Reply To: Help with Version 10.1.1 Database Changes
September 16, 2018 at 10:43 pm
#17474
Craig Tucker
Participant
Thanks, your edit is perfect:
$attachment[] = array(
'att_file' => $pathtofile,
'att_mime' => 'application/pdf',
);
//Add attachment to Frontend PM post
FEP_Attachments::init()->insert( $message_id, $attachment );
I can clearly see that your modification the the database is much better. Now on to OpenEMR. I will look at FEP_Message_Query
. Thanks again,
Craig