Unknown column 'wom' in 'where clause'--select * from chapters where book_id='' and chapter_number=wom