I've been working on something for the past few days but this one bit of code perpetually throws an unexpected T_ECHO. My friends can't seem to find anything wrong with it and I'm at the edge of my patience. Even with the nested while loop removed it still throws an error and I switched to the while: endwhile; syntax as well and I'm still getting it. I'm sure the answer is staring me in the face but I probably can't see it.
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)):
echo "<tr>";
echo "<td>". $row["site_description"] ."</td>";
echo "<td>". $row["url"] ."</td>";
echo "<td><select>";
while ($roar = mysql_fetch_array($categories, MYSQL_ASSOC)):
echo "<option value=\"". $roar["category"] ."\">". $roar["category"] ."</option>";
endwhile;
echo "</select></td>";
echo "</tr>";
endwhile;
{}?