note 102816 deleted from function.pg-copy-from by danbrown

From: Date: Tue, 08 Mar 2011 14:37:41 +0000
Subject: note 102816 deleted from function.pg-copy-from by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177664@lists.php.net to get a copy of this message
Note Submitter: Dave ---- change $copy_message = "1;". $message .";300"; pg_copy_from($db, "message", $copy_message, ";"); to $copy_message = "1\t". $message ."\t300"; pg_copy_from($db, "message", $copy_message); for if a ";" is in the $message it will break the insert.

« previous php.notes (#177664) next »