Please help me to creating code for my images from form to public folder and retrieve it on my view trough database

This is my form:

<form = method="post" action="/saveform1" > 


        <input type="text" class="form-control" name="yourname" placeholder="Enter your Name"> </br> <label> Your Email  </label> <input class="form-control" type="email" name="email" /> </br> <label> Your Tp Number  </label> <input class="form-control" type="number" name="tp" /> </br> <label> Subject  </label> <input class="form-control" type="text" name="subject" /> </br> <label for="exampleFormControlTextarea1">Your Message</label> <textarea class="form-control" id="exampleFormControlTextarea1" rows="3" name="message">

When I find a cool image viewer or slider on a website I use FireFox sourse code viewer [ctrl e]