I have an image upload script that works well on its own but fails when I try to run in via a PHP function that I was hoping would just keep the PHP file in the DIV
function Upload()
{
print'<div>';
include('../a/multi-image_uploader_thumbnail_creator.php');
print'</div>';
}
The PHP file runs well but once a user submits it leaves the PP function completely. The form code is:
while($i++ < $upload_image_limit){
$form_img .= '<label>Image '.$i.': </label> <input type="file" name="uplimg'.$i.'"><br />';
}
$htmo .= '
<p>'.$feedback.'</p>
<form method="post" enctype="multipart/form-data">
'.$form_img.' <br />
<input type="submit" value="Upload Images!" style="margin-left: 50px;" />
</form>
';
echo $htmo;