When I try to add or update a postgresql field from php, even though I escape it, when I try to include a single quote in a varchar field, the result is the quote and everything following is missing after being INSERTed or UPDATEd. Anybody have any ideas what is going on? Thanks in advance! Dave ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match