I am working on a project and I am not sure how to handle a couple of things.
There is a user form which is entered into the database and the user must be able to upload a picture to the database. The user can enter all information (except for the picture) and it is correctly submitted to the database. I can get the picture uploaded to a directory, but how do I add it to the database?
The administrator can then search on a field and retrieve the data (including the picture) and make changes. The customer wants to then email the form. If I click file send from the browser, the email is sent. However, when received the email does not have any information because it needs the search number to pull the data and that # is lost during the email. If I save from the browser and then email the saved file, the information is sent correctly, but the customer wants to send the email from the browser. How do I do this?