jQuery Form Upload success but how to get inserted id?
<p>I have upload script here: <a href="http://www.saaraan.com/2012/05/ajax-image-upload-with-progressbar-with-jquery-and-php" rel="nofollow">http://www.saaraan.com/2012/05/ajax-image-upload-with-progressbar-with-jquery-and-php</a></p>

<p>the author does not help me what I really need so I came here and really need your help:</p>

<p>What I have to edit, when I succesfully uploaded a photo and inserted to mysql Database and get the inserted ID, and redirect to another file: example: myphoto.php?id=1 ??</p>

<p>I tried to edit in file index.php: </p>

<pre><code>complete: function(response) { // on complete
                        window.location.href = "photo.php?id=" **HOW TO GET THE ID INSERTED HERE????**;
                    }
</code></pre>

<p>Thank you in advanced, my english is not good yet, I am new to jQuery too.</p>

<p>Thank you!!!</p>
