Hi all
i have a form as follows:
** file1.php**
<form action="<?php echo $editFormAction; ?>" method="POST" enctype="multipart/form-data" name="tblMovment" id="tblMovment">
<input name="MovDate" type="text" />
<input name="MovAmount" type="text" />
<input type="submit" name="submit" id="submit" value="add invoice" />
</form>
**I want to pass the Auto increment ID of the table above to another page (attach.php)
then i can use it $_POST['ID'] to attach a file to the above "Invoice" ? **Is there any way to attach the files in the same form (I have two separated mySql Table one for Files(that ATTACHED to Invoices table) an the other for Invoices)??