Upload Bild mit jquery

Ich habe einen funktionierenden PHP-Code, um ein Bild in die Datenbank hochzuladen. Ist es möglich, es in jquery umzuwandeln? Wenn ja, was muss ich tun? Ich bin neu in jquery btw. Vielen Dan

Dieser Code funktioniert gut. Aber ich muss es in jquery tun.

<form action = 'upload.php' method = 'post' enctype="multipart/form-data">

    <input type="file" name="image" > <br>
    <input type= 'submit' value = 'Add' id = 'Add' name = 'Add'>

</form> 


<?php   
    if(isset($_FILES['image']))
    {
    $target_Path = "images/";
    $target_Path = $target_Path.basename($_FILES['image']['name'] );
    move_uploaded_file( $_FILES['image']['tmp_name'], $target_Path );

    $name = $_FILES['image']['name'];
    }
    if(isset($_POST['Add']))
    {

        if($_POST["Add"] == "Add") 
        {
        $add = "Insert Into img(path) Values('$name')";
        $up = mysql_query($add);

            $status = "Upload success!";
            print '<script type="text/javascript">'; 
            print 'alert(" '.$status.' ")'; 
            print '</script>';                  
        }
    }

Antworten auf die Frage(4)

Ihre Antwort auf die Frage