Email name of uploaded file.
I have a form where someone can leave a response to a series of questions and also upload a file. On the page I use to create the email that gets sent the text field entries are working, but the uploaded file name isn't being sent. The file is being uploaded and the name is being stored in the database correctly. Should file names be handled differently?
Code samples:
<?php echo((isset($_POST["answer1"]))?$_POST["answer1"]:"") ?> <---works
<?php echo((isset($_POST["file"]))?$_POST["file"]:"") ?> <---doesn't work