i want search video from mysql data base and Display it on the browser..

Hi,
video are stored category wise…means user when upload video that time he give the particular name for that video…then this data are stored in mysql…
then i want it search from database by name and display it on the browser…
please give sample code…for that process…