Sending an uploaded file as attachment to email

I am a novice in Web designing. I need to create a form in HTML such that it asks the user to enter several fields and upload his/her resume. When he submits the form, his submissions should be email to me with his resume as the attachment with the email. I have used PHP for sending the email. Everything works fine, except that the file is not getting attached with the sent email. I am posting both the HTML and the PHP code, please help me.. HTML Code: FileName: Careers.html

Contact Form Name

E-mail

Date of Birth

Contact Number

Class 12 Marks/CGPA/Percentage

Graduation Marks/CGPA/Percentage

Post-Graduation Marks/CGPA/Percentage

Present Employer

Date of Joining

Designation

Current CTC

Upload your Resume

Message PHP Code: FileName: Careers.php
[email protected]'; $subject = 'Job Application from a site visitor '.$field_name; $body_message = 'From: '.$field_name."\n"; $body_message .= 'E-mail: '.$field_email."\n"; $body_message .= 'Date of Birth: '.$field_dob."\n"; $body_message .= 'Contact Number: '.$field_contact."\n"; $body_message .= 'Class 12 Marks/CGPA/Percentage: '.$field_board."\n"; $body_message .= 'Graduation Marks/CGPA/Percentage: '.$field_grad."\n"; $body_message .= 'Post-Graduation Marks/CGPA/Percentage: '.$field_pgrad."\n"; $body_message .= 'Present Employer: '.$field_emplyr."\n"; $body_message .= 'Date of Joining: '.$field_doj."\n"; $body_message .= 'Designation: '.$field_desg."\n"; $body_message .= 'Current CTC: '.$field_ctc."\n"; $body_message .= 'Message: '.$field_message."\n"; $headers = 'From: '.$field_email."\r\n"; $headers .= 'Reply-To: '.$field_email."\r\n"; $mail_status = mail($mail_to, $subject, $body_message, $headers); if ($mail_status) < ?>  else < ?>  ?>