I am uploading image using php.
However, i want to see image preview of selected image before upload.
This is My form:
<form enctype="multipart/form-data" id="fupForm" method="post">
<input type="file" class="form-control" id="file" name="file" />
<img class="basic-img" src="#"/>
</form>
I check the similar question Preview an image before it is uploaded But solution is not working for me