change the WHERE clause in your SQL statement to look in the title field instead of the 'vidnumber' field, more specifically in this piece of code:
Code:
WHERE vidnumber LIKE '".mysql_real_escape_string($id)."'"