echo "<br><h4>Enter a search value: </h4> ";

echo "<select name=`CaseSelect` id=`CaseSelect`>";
echo "<option value=``> </option>";

$sql="select rValue from Responses where qID=`RE_Id` and isDeleted=0 order by rValue";

$resq=GetResultset($sql);
if(!$row = mysql_fetch_assoc($resq))
       return false;
do
	{
	    echo "<option value=`" , $row["rValue"] , "`>" , $row["rValue"] , "</option>";
	}

while ($row = mysql_fetch_assoc($resq));

echo "</select> ";
