Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <fieldset>
- <p>Choose an image then press "upload" </p><br>
- <form name="form2" enctype="multipart/form-data" method="post" action="upload.php" />
- <input class="form-control btn btn-primary" type="file" size="32" name="my_field" value="" /><br>
- <input type="hidden" name="action" value="image" />
- <input type="hidden" name="id" value="<?=$id?>" />
- <input type="hidden" name="path" value="students" />
- <input type="hidden" name="old_photo" value="<?=$student->photo?>" />
- <input class="form-control btn btn-danger" type="submit" name="Submit" value="upload" />
- </form>
- </fieldset>
- </form>
Add Comment
Please, Sign In to add comment