Hello everyone

I am making my collage project in web development so in student database records there will be photo to upload,I want to upload image with data in mysql database and retrieve in another page .please give me javascript code if any.

thank u in advance