add the following code at line 1 of your insert and update page:
<?php
if(!empty($_POST)) {
foreach($_POST as $key => $value) {
$_POST[$key] = str_replace("|", "|", $value);
}
}
?>
to correct the issue.
hmmm, the forum is encoding the pipe html entoty.
in this line:
$_POST[$key] = str_replace("|", "|", $value);
the second pipe should be "& # 1 2 4 ;" (Without the space between each character, i left them in so it would not get encoded).