photo upload
<html> <head> <script src="assets/js/jquery-1.10.2.js"></script> <!-- BOOTSTRAP SCRIPTS --> <script src="assets/js/bootstrap.js"></script> <!-- PAGE LEVEL SCRIPTS --> <script src="assets/js/bootstrap-fileupload.js"></script> <!-- METISMENU SCRIPTS --> <script src="assets/js/jquery.metisMenu.js"></script> <!-- CUSTOM SCRIPTS --> <script src="assets/js/custom.js"></script> </head> <body> <form method="post" enctype="multipart/form-data"> <input type="file" name="photo"><br> <input type="submit" name="submit" value="SEND"> </form> <?php $con=mysqli_connect("localhost","root","root","img") or die(mysqli_error()); if(isset($_POST['submit