jQuery $_GET Variable
<p>I have a modal window that uploads files to server. Works great. Upon completion of the upload I am refreshing a div on the parent page. Almost works. What I need in order for it to work is to be able to grab $_GET['edit']. Hopefully my layout of the code will help show my issue.</p>

<p>Modal Window: upload complete</p>

<pre><code>$('#albumFinished').click(function() {
       $('#sortableImages').load('../includes/sortImages.php');
 });
</code></pre>

<p>sortImages.php</p>

<pre><code>$galleryID = $_SESSION['newGalleryId'];
$getGalleryID = $_GET['edit']; 

echo "&lt;ul&gt;";

    while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
       $sortImageName = $row['OrgImageName']; 
       $sortPath = "../data/gallery/" . $getGalleryID . "/images/album/" . $sortImageName;
                    echo "&lt;li class='sortPhotos' id='recordsArray_{$row['id']}' &gt;";
                    echo '&lt;img src="'. $sortPath .'"/&gt;';
                    echo "&lt;/li&gt;";
                }

    echo "&lt;/ul&gt;";
</code></pre>

<p>Everything is functioning properly except I am unable to grab the $_GET variable. How do I go about grabbing this variable? Also if my explanation is not clear, I will try to clarify further.</p>
