i have one page which display data beside every data there is one edit link, when i click on that edit link. it display another page which shows the the form filled with data which is fetch from database. now in that form there are two input type="file".
1)for photo
2) resume
<?php
$a =$data['photo'];
?>
<tr>
<td>Photo:</td>
<td><input type="file" onchange="file_selected=true;" name="pic" ></td>
<td id="f_pic"></td>
</tr>
<tr>
<td colspan=2><img src="Image/<?php echo "$a"; ?>" alt="Photo" width="400" height="200"> </td>
</tr>
<?php
$r =$data['resume'];
?>
<tr>
<td>Resume:</td>
<td><input type="file" onchange="file_selected1=true;" name="doc" id="<?php $data['resume']?>"></td>
<td id="f_doc"></td>
</tr>
now when edit button press all other detail filled bt i cant get value for photo and resume. what should i do?? i don't know.
EDIT
if there is question but i am not satisfied with it. it's all wrong answer. and i have one answer which i am going to post but for that i guess u need to remove duplicate mark i guess.