SQL Error : 1054 Unknown column 'T1' in 'where clause'

select board_id from tbl_product where (active=1) and (product_id = T1)

Line : 152
File : /home/eutc/public_html/template/product/moredetail.php