Error in query: SELECT * FROM paper WHERE volume= AND issue= AND php='pivko'. ERROR: syntax error at or near "AND" LINE 1: SELECT * FROM paper WHERE volume= AND issue= AND php='pivko' ^