php file upload plus $_POST in same html form?

jimmy

New member
html:
<form id="form" action="create.php" method="post" enctype="multipart/form-data">
Title: <input type="text" id="title" />
File: <input type="file" id="file" name="file" />
</form>

php:
echo $_POST['title'];

Why doesn't this echo the title? All the $_FILES stuff works fine.
 
Back
Top