ERROR: invalid input syntax for integer: "" LINE 1: select * from bio_chances where kategori='' and published='1... ^