select * from shop_board_48 where btype='2' and index_no = rentaltime and pt_id = 'rentaltime' order by fid desc

1054 : Unknown column 'rentaltime' in 'where clause'

error file : /custom/per.php