Update search.html

Started trying to implement transaction history, need help with SQL Query