note 21169 deleted from function.ereg-replace by kennyt

From: Date: Wed, 26 Jan 2005 03:56:09 +0000
Subject: note 21169 deleted from function.ereg-replace by kennyt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-83992@lists.php.net to get a copy of this message
Note Submitter: dude at d0gz dot net ---- When moving data from Oracle to Postgres, I was having trouble with values containing nulls from the Oracle SELECTS (which causes Postgres fits during an insert i.e. 'Unterminated quoted string'). This solved the problem: $output=preg_replace('[\x00]','',$input);

« previous php.notes (#83992) next »