SQL Statement failed on preparation: SELECT * FROM links where contentid = ? and name_hr<>""'