> Try -- > > $result = pg_exec($c1,"SELECT o_plz FROM ort_tabelle > WHERE o_plz =". > $HTTP_SESSION_VARS["user_tabelleXu_o_plz"]); Hell..... I'm doing this anyway in another script.. Thanks ;) But I wonder how you would do that within the string correctly :) (the error message php gives me does not tell me anything usefull;) ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly