Drop-down Menu not working

I just added the following Form to my webpage…


	<form id="sort_comments" action="" method="get">
		<div class='commentsBar'>
			<div class="drop">
				<label for="sortrequest">Sort by:</label>
				<select name="sortrequest">
					<option value="by-date-desc" >Date (Newest 1st)</option>
					<option value="by-date-asc" >Date (Oldest 1st)</option>
				</select>

				<input type='submit' name='submit' value='Go'/>
			</div>

		</div>
	</form>

Then I added this to the top of my script…


var_dump($_GET);

If I load the page, choose a value in the drop-down, and submit the form, I am not getting any $_GET value for the drop-down…

Any idea what is wrong?

This is driving me crazy debugging!!!

Sincerely,

Debbie

Looks fine to me.

array(2) { ["sortrequest"]=> string(11) "by-date-asc" ["submit"]=> string(2) "Go" } 

var_dump is inside php tags I assume.

<?php
var_dump($_GET);
?>

Nope.

I forgot to add “QSA” to my mod_rewrite…

Debbie