Jason, I'm a little confused by this. My form has a file field and a hidden field. The contents of the hidden field will be inserted into the database. On the page, the sequence of functions is:
1. Upload image
2. Write the record to the database
3. Populate the hidden field
So, the record is written to the database before the hidden field is populated so that its value would appear in $_POST. What am I missing?