Drop down navigation

Hi!

How to add a select tag the lists categories from database and redirects to particular pages upon onchange event of the select tag