SHOW:
|
|
- or go back to the newest paste.
1 | <fieldset> | |
2 | <p>Choose an image then press "upload" </p><br> | |
3 | ||
4 | <form name="form2" enctype="multipart/form-data" method="post" action="upload.php" /> | |
5 | <input class="form-control btn btn-primary" type="file" size="32" name="my_field" value="" /><br> | |
6 | ||
7 | <input type="hidden" name="action" value="image" /> | |
8 | <input type="hidden" name="id" value="<?=$id?>" /> | |
9 | <input type="hidden" name="path" value="students" /> | |
10 | <input type="hidden" name="old_photo" value="<?=$student->photo?>" /> | |
11 | ||
12 | <input class="form-control btn btn-danger" type="submit" name="Submit" value="upload" /> | |
13 | </form> | |
14 | </fieldset> | |
15 | ||
16 | </form> |